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

Menu scroll / overflow #86

Closed topperharley8 closed 2 years ago

topperharley8 commented 2 years ago

How to set the menu / submenu to scroll?

I found an old snippet, which works with: https://bootsnipp.com/snippets/dp5e9

I haven't found the difference / solution yet.

Thx.

somewebmedia commented 2 years ago

If you mean if the content of the menu is larger than the page height, you should be able to scroll.

topperharley8 commented 2 years ago

Colud you check it?

https://abident.premiummedia.hu/csapatunk.html

Thx.

topperharley8 commented 2 years ago

Ok. I found a solutiond. I used custom css:

.hc-offcanvas-nav.nav-levels-overlap .nav-content { display: table-cell; }

Just erase, and than work it. Sorry, thanks your reply.