Skip to content
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

When re-opening a menu in menuShow the scrollbars are gone. #34

Open
kenamat opened this issue Apr 14, 2022 · 0 comments
Open

When re-opening a menu in menuShow the scrollbars are gone. #34

kenamat opened this issue Apr 14, 2022 · 0 comments

Comments

@kenamat
Copy link

kenamat commented Apr 14, 2022

The first time the menu is opened, the script checks the menu size. If it would overflow, the max size is caculated and overflow is hidden.
The second time, since overflow and size have not been reset, the same test return false and the size and overflow are now reset. And the menu overflows.
Fix: if the size and overflow are reset before the test, everything's fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant