-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scroll inside menu not possible #14
Comments
Hey @Graahf, I think I can help here. Inside the file .slide-menu {
…
overflow: hidden;
…
} I managed to solve the "issue" you mention this way: .slide-menu {
…
overflow-x: hidden;
overflow-y: scroll;
…
} This way you're basically telling the menu container to scroll in the y (vertical) axis when the content is taller than the viewport height. Extra informations (not mandatory to solve your problem): you can edit the Hope this will help you, bye! |
As @vcoppolecchia says a So I guess, it might be a good idea to dynamically set the height of the current menu container via JS. This way the user would only have to scroll, if the menu is actually taller than the available screen space. I'll look into it, when I have time. |
I ran into this issue with having a div below my menu and the menu going overtop of it. this would actually be really easy to solve with your api if you could add a class to the visible menu ul currently there if your nav is 3 deep then you will have something like this
If you could do something like this, it would be much easier to grab the height of the div.
then simply something like this would work to adjust the menu |
Hey :)
Great plugin, but when the number of children excess the screenheight, it's not possible to scroll in the menu, to get to the last element :(
The text was updated successfully, but these errors were encountered: