Home › Forums › WoodMart support forum › A little delay in menu ( open menu) › Reply To: A little delay in menu ( open menu)
Hung Pham
Hi andrzej,
This is the normal behavior of dropdown mega menus. By default, all dropdowns are positioned via position: absolute match directly under their parent menu item, as shown in the screenshot (https://prnt.sc/hEKKKuPE0XNx). Having large sizes, mega menus can go beyond the edges of the screen, and to prevent this from happening, there is a special script that calculates the offset of dropdowns so that mega menus are always visible and fit on the screen regardless of their size. This can be seen in the video (https://gyazo.com/56e1959e7ef016c8709cb0e6ec81b2e7). To avoid visible shifts when opening the dropdown, they are hidden until all the necessary calculations have taken place.
You can use this code I provided in this reply https://xtemos.com/forums/topic/a-little-delay-in-menu-open-menu/#post-518997
Regards,