• I really enjoy using Jetpack plugin, but right now I have an issue with the Comments.

    Problem is that the text box (where you input your comment) is expanding with every character. It works fine on the first page (home page of the blog) but not on the other.

    Check it here if you don’t understand what I mean:
    https://blogwithphotos.net/stairs-to-dawn/
    There is Comment button under the photo. Try to type some comment and you’ll see what’s happening.

    You’ll see that if you’re going to the main page https://blogwithphotos.net is working fine.

    Maybe it has something (as is working on the homepage) to do with the following code in the functions.php:

    function gpp_comment_toggle_script() {
    $doc_ready_script = ‘
    <script type=”text/javascript”>
    jQuery(document).ready(function(){
    jQuery( “.comments-link a” ).click( function(e){
    ‘;
    //Homepage doesnot need preventDefault and single page does
    if(!is_home()){
    $doc_ready_script .= ‘e.preventDefault();’;
    }

    $doc_ready_script .= ‘
    if (jQuery(“#comments”).is(“:visible”)) {
    jQuery( “#comments” ).slideUp( 500 );
    } else {
    jQuery( “#comments” ).slideDown( 500 ).scrollView();
    }
    });’;

    /* lazy loader for archive page */
    if(is_page_template(‘page-archive.php’)){
    $doc_ready_script .= ‘jQuery(“pre.lazy”).lazyLoad();’;
    }
    $doc_ready_script .= ‘
    });
    </script>’;
    echo $doc_ready_script;

    }

    I tried already to disable all plugins, but does not help. I assume that there is somekind of JS conflict, but I cannot really figure it out what.

    Any help will be appreciated.

    Thank you!

    https://www.ads-software.com/extend/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Howdy, I’ll be happy to take a look.

    What browser and version are you using?

    I’ve tested this with the post you’ve linked to using an Incognito window with Google Chrome 23.0.1271.101 and I wasn’t able to reproduce your description.

    If you’re using Mozilla Firefox, could you please try it in Safe Mode to narrow down a browser–specific issue?

    Thread Starter yotis

    (@yotis)

    Hello Bryan,

    Thanks for taking the time to look into my issue.
    I did test with all browsers which I have installed: Safari, Google Chrome, Firefox (with and without privacy mode enable). All have the same issues.

    I did a little screencast to show you: https://screenr.com/BPW7

    If you check my screencast you’ll see that Chrome / Safari start to expand the box like crazy only after 5-6 words. Firefox instead starts immediately.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Jetpack Comments – Text box expand with every character’ is closed to new replies.