Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1258835

    HI~

    We need to use the plugin slick menu pro (https://slickmenu.net/)

    And we find the Plugin conflict, It is maybe js or css conflict.

    Problem:
    Menu anchor cannot jump to the specified position
    Width: Problems below 1360px
    Click within 1 second after opening the menu (or when the screen has not completely jumped to the correct position, open the menu again and click other items)

    Browser:
    iMac / Chrome / private mode:normal

    Mac air “13 / Chrome / Normal mode / private mode:The second click cannot be executed.

    iMac / Safari / Normal mode:normal

    Windows 10 / Ie Edge、Chrome:
    The second click cannot be executed.

    When We change the theme to WooCommerce default theme [Storefront], it works normal.

    Can you help me to resolve this problem?

    Thank you very much

    #1259169

    HI~ please help me, thank you very much

    #1259487

    Hi,

    Thank you for the inquiry.

    You might have to disable or deregister the avia-megamenu script and the avia_hamburger_menu function inside the js > avia.js file to get rid of the unwanted menu behavior. These scripts create the mega menu and switches the default menu to the mobile menu version.

    // https://developer.wordpress.org/reference/functions/wp_deregister_script/

    Best regards,
    Ismael

    #1260273

    Hi~
    1. Is the following code correct?
    How can I check that it work?

    add_action( 'wp_enqueue_scripts', 'my_deregister_scripts', 1000 );
     function my_deregister_scripts() {
       wp_deregister_script( 'avia-megamenu' );
       wp_dequeue_script('avia-megamenu');
       wp_deregister_script( 'avia_hamburger_menu' );
       wp_dequeue_script('avia_hamburger_menu');
    }

    2. And I found the new problem is that after I click the menu several times, maybe after 5 times, 7 times, or 8 times, the CLICK of the menu becomes invalid.

    #1260617

    Hi,

    Thank you for the update.

    The avia_hamburger_menu is actually inside the js > avia.js file, so you have to comment it out to disable it. You cannot remove or deregister the file because it will break a lot of functionality in the theme. Please look for this code around line 19 and comment it out or remove it completely.

    //activates the hamburger mobile menu
    		avia_hamburger_menu();
    

    For additional assistance, please keep in touch with the plugin developers.

    Best regards,
    Ismael

    #1260727

    HI~
    I already comment it, but the problem is still existing.
    https://drive.google.com/file/d/1hv3XNYz3ecdRcIfvS7Qw-xx2u1_yc_D_/view?usp=sharing

    Can you help me to check it?

    #1261471

    Hi,

    Thank you for the update.

    The anchors are working properly when we checked the site. The page scrolls and lands to the corresponding section after clicking one of the menu items containing an anchor. Please try to do a hard refresh, remove the cache or check the site on incognito mode.

    Best regards,
    Ismael

    #1261489

    HI~
    Please try to click menu over 10 times.

    Please try to do a hard refresh, remove the cache or check the site on incognito mode.
    => we try many times’

    Thank you.

    #1262240

    Hi,

    Please try to click menu over 10 times.

    We could not reproduce the issue even when we clicked the anchors many times. It just lands or scrolls to the corresponding sections as expected.

    What actually happens when you click a menu over 10 times? Do we have to click the same menu over and over just to reproduce the issue? Users will probably not do that many clicks to the menu items, normally.

    Best regards,
    Ismael

    #1262292

    HI~

    After clicking multiple times, any click will not work.
    The number of times may be different each time, it may be 2 times, 3 times, 5 times, and 10 times is a safer number for you to test

    #1262891

    Hi,

    We are still not able to reproduce the issue on Firefox Dev Windows 10. You can see the number of clicks that we did in the screenshot below, and the menu still works.

    // https://imgur.com/SK7dpyH

    Thank you for your patience.

    Best regards,
    Ismael

    #1262957

    HI~
    We use mac / chrome , and window / chrome & edge have problem.

    #1263447

    Hi,

    Thank you for the info.

    Aside from disabling the burger menu, try to also disable the avia_smoothscrollfunction in the avia.js file, but this will disable the smooth scrolling effect and the anchors will land immediately on the corresponding sections.

    //smooth scrooling
    if($.fn.avia_smoothscroll)
    $('a[href*="#"]', container).avia_smoothscroll(container);
    

    If the issue persists, you may need to contact the plugin developers or the script creators to further inspect the issue.

    Best regards,
    Ismael

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