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

closeOnClick does nothing #94

Closed touringo closed 1 year ago

touringo commented 1 year ago

Hi, I am testing v6.1.5; if I understood correctly closeOnClick parameter should close side menu as soon as user chooses a item. Putting closeOnClick=true in the main page, making a choice on menu causes it to remain open; the only way to close it is to click anywhere in the window. Parameters have been set at first only on the part as a jquery plugin and then on the part as a vanilla JS plugin. I seen No changes in various combinations. I don't know if this is related to my code, see below: numenu.txt

touringo commented 1 year ago

done by myself