somewebmedia / hc-offcanvas-nav

JavaScript library for creating toggled off-canvas multi-level navigations, allowing endless nesting of submenu elements, supporting swipe gestures, keyboard interactions and ARIA attributes.
https://somewebmedia.github.io/hc-offcanvas-nav/
MIT License
336 stars 82 forks source link

The header menu is firing twice affecting performance issues #92

Closed ss186029 closed 11 months ago

ss186029 commented 1 year ago

Is there a way to limit how many levels should it load? Is the script loading the menu twice? Once the script is loaded, the dom elements increase by a huge amount. Here is a website to test the issue on: https://mypicks.bigy.com/