-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
fix: fix position of menu when dimensions change #3521
fix: fix position of menu when dimensions change #3521
Conversation
Hey @mathias-berg, thank you for your pull request 🤗. The documentation from this branch can be viewed here. |
@lukewalczak |
Hey @mathias-berg, thanks for fix! We can stick with the current approach, however I would like to confirm whether it doesnt interfere with the previously fixed issue. |
Unfortunately, the current approach with updating window dimensions breaks the |
I will look at this tonight to see if I find a solution. |
Did a lot of investigating on this last night and found a solution that works. I will do some more testing and then update this PR. |
Changes are up now, please have a look. |
Thanks @mathias-berg! I will review & test in my spare time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @mathias-berg, thanks for the help with fixing the issue! 🎉
Summary
The dimensions was set outside the component and therefore didn't change when the screen size was adjusted.
This was introduced in in rc9 so I just moved it back to where it was before when it worked.
Fixes #3515