-
Notifications
You must be signed in to change notification settings - Fork 28
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
Teleport the dropdown menus in the body so we can use overflow: auto
on the menu bar
#21
Comments
Hi! Another approach would be to create your own scrollbar in JavaScript, and when you move it, it sets negative pixels on CSS |
Thinking a bit more, actually if your scrollbar is larger than your page and its |
To be honest, I don't understand what you mean. Maybe I didn't describe it clearly. The above is from Google Translate. |
Yes I understood your issue, I had the same issue in my project. The thing is that with CSS, when you set That's why I proposed a JavaScript way of making a custom scrollbar without using the CSS |
I understand this time, thank you for your reply
Thanks for your reply again, good night |
Yes but it will loose the relative position to the menu, so I have to place the dropdown manually using JavaScript. Actually it could be a good idea to implement this teleported boolean. I have no time to look at it right now but if you want to make a PR you're welcome to do so. |
overflow: auto
on the menu bar
Describe the bug
After setting the toolbar to scroll horizontally, the drop-down menu will be wrapped by the scroll bar
Expected behavior
Drop-down menus should not be covered by scroll bars
Screenshots
QQ2024417-17305.mp4
The text was updated successfully, but these errors were encountered: