-
AuthorPosts
-
November 6, 2020 at 12:13 pm #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:normalMac 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
November 9, 2020 at 4:57 am #1259169HI~ please help me, thank you very much
November 10, 2020 at 7:13 am #1259487Hi,
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,
IsmaelNovember 13, 2020 at 6:14 am #1260273Hi~
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.
November 16, 2020 at 3:17 am #1260617Hi,
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,
IsmaelNovember 16, 2020 at 3:12 pm #1260727HI~
I already comment it, but the problem is still existing.
https://drive.google.com/file/d/1hv3XNYz3ecdRcIfvS7Qw-xx2u1_yc_D_/view?usp=sharingCan you help me to check it?
November 19, 2020 at 8:10 am #1261471Hi,
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,
IsmaelNovember 19, 2020 at 10:28 am #1261489HI~
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.
November 23, 2020 at 4:55 am #1262240Hi,
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,
IsmaelNovember 23, 2020 at 9:55 am #1262292HI~
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 testNovember 25, 2020 at 5:09 am #1262891Hi,
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.
Thank you for your patience.
Best regards,
IsmaelNovember 25, 2020 at 10:21 am #1262957HI~
We use mac / chrome , and window / chrome & edge have problem.November 27, 2020 at 5:33 am #1263447Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.