-
Notifications
You must be signed in to change notification settings - Fork 57
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
Menu with animation breaks position #1347
Comments
Hi @rettimo , thanks for raising the issue. I will be looking into a possible fix of it. |
Any updates about this? |
Have done the fix in this branch https://github.com/szhsin/react-menu/compare/feat/normalize-scale?expand=1#diff-a80d3ba2a1d3e27acec4cecbafc291463c08ea56008ca6f73c9bdf9c6de4784f I'm adding some scale-based animation examples and updating docs. A new version should be expected tomorrow. |
Issue fixed by v4.2.0. This release also added a zooming animation css file which is used by default on the docs website: https://szhsin.github.io/react-menu/ |
React/React-dom version: 18.3.1
React-Menu version: 4.1.0
Describe the bug
I used the tailwind example as a basis for my menu and styling. It was later noticed that due to the scale animation, I was getting the wrong menu position after fully opening.
Example 1:
Example 2:
To Reproduce
align="center"
to theMenu
component.Expected behavior
The use of animations should not affect the menu position
The text was updated successfully, but these errors were encountered: