-
Notifications
You must be signed in to change notification settings - Fork 584
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
Animation works inconsistantly #462
Comments
Same problem here, but didn't change the width of anything and I realized that on my phone the animation works fine, but on my computer it doesn't @negomi This is my code... It works fine, expect the animation, looks like @tigorthemusichead 's one |
@tigorthemusichead For a custom width, I would recommend using the width prop: https://github.com/negomi/react-burger-menu#width @theoradicella I think your code looks ok, are you just using the slide animation? The next thing I would check would be any custom styles/complexity in the markup structure of your app that could be interacting strangely with the menu. |
For me the fix was to remove isOpen, onOpen and onClose properties |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm experiencing this same problem. I can click to open and close the drawer 10 times in a row and see different results. The closing animation always works, but the opening animation sometimes gets skipped. I'm just using the basic slide animation. I do have a custom width, which I switched from a CSS width to a prop width, but it did not fix the behavior. |
Its the same even on the documentations example for certain animations when "right" is selected eg. scaleRotate 2022-08-26.16-44-38.mp4 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
this worked for me expect I was able to keep the isOpen prop. it was just the onClose and onOpen I needed to remove |
Menu opens without animation sometimes. It looks like this:
menu_issue.mov
The only thing I changed in the library code is width for .bm-menu-wrap in burger-menu.css
It looks like the custom width conflicts width something.
I use slide animation, but the same problem appeared for all of them.
The text was updated successfully, but these errors were encountered: