Site logo

[Support request] Navigation menu and content buttons require double tap to function.

Home Forums Support [Support request] Navigation menu and content buttons require double tap to function.

Home Forums Support Navigation menu and content buttons require double tap to function.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #2152676
    John

    Hi GP,

    Many readers have sent me an email that my navigation menu and any buttons inside a post requires a “double tap” in order to function. It seems to happen more often on mobile than desktop.

    For example, the hamburger menu located in the header requires tapping it twice for the menu to expand.

    For posts, the same thing for buttons. See this post as one example (try the first “Apply Now” button).

    #2152769
    David
    Staff
    Customer Support

    Hi there,

    is this on any particular device ? as it works correctly on my iPhone across all browsers.

    You may want to ask one of your users to test the site with WP Rocket disabled to make sure its optimisations are not interfering with the loading of scripts.

    A user can do this by adding ?nowprocket to end of the URL e.g

    https://themoneyninja.com/chase-bank-promotions/?nowprocket

    #2196442
    John

    Bingo – I think you nailed it.

    I tested using a Samsung Galaxy and an Apple iPhone device. If I try to click the hamburger menu (or any other button) too fast during initial loading, it requires a double-tap to perform the action.

    Are there particular GeneratePress scripts I need to exclude from deferring in WP Rocket?

    #2196626
    David
    Staff
    Customer Support

    The menu uses this script:

    /wp-content/themes/generatepress/assets/js/menu.min.js

    #2284832
    John

    Hi David,

    Thank you. I have added the menu to the “JS to exclude from deferring” in WP Rocket. Is there a script for the Generate Blocks buttons as well?

    #2285123
    David
    Staff
    Customer Support

    GenerateBlocks doesn’t load ANY Javascript.

    #2289133
    John

    Does it load via CSS?

    #2289136
    Fernando
    Customer Support

    It’s added as HTML through PHP. Yes, there’s CSS added for GenerateBlocks for its design.

    Hope this clarifies!

    #2335135
    Elizabeth

    hi, i have the same issue! i have generate blocks buttons and on mobile where most of my traffic comes from, it requires a “double tap” in order to function. I am using WPRocket to boost site load speed. What do I input for exclusions to make it function on a single tap?

    #2335260
    David
    Staff
    Customer Support

    Hi there,

    does the issue go away if you disable WP Rocket ?

    #2335261
    Elizabeth

    hi there yes it does. i tested it by following your thread

    #2335629
    David
    Staff
    Customer Support

    Hmmm…. i wonder what WP Rocket setting is casing that,
    As GenerateBlocks doesn’t use any scripts, so the buttons should not be affected by WP Rockets script delays / deferring.

    Do you want a raise a new topic, where you can share a link to your site, i can then take a look at whats happening.

    #2336199
    Elizabeth

    ok

    #2341167
    John

    Hi David,

    I’m actually still having an issue with this. I deferred the menu in WP Rocket by adding this script to not defer:

    /wp-content/themes/generatepress/assets/js/menu.min.js

    But the menu button and GenerateBlocks button requires a double tap (or double-click on a desktop) if I interact too early during the page load.

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.