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

bug: Animaiton not working in navbar when toggling the hamburger menu in mobile devices #18

Open
SourishBiswas23 opened this issue Oct 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@SourishBiswas23
Copy link

What version of FlyonUI are you using?

1.1.0

Which browsers are you seeing the problem on?

Chrome, Chrome Android, Firefox

Reproduction URL

https://flyonui.com/docs/components/accordion/#basic-example

Describe your issue

The animation while opening and closing the navbar is janky in every version of the navbar in the library. When the hamburger button is tapped in the closed navbar, the navbar opens up instantly and when it is tapped again, the icon on the navbar changes instantly but the navbar takes some time to close (duration-300 in the markup) resulting in jankiness. Looking at the code, I think that the navbar is supposed to decrease its height gracefully from the sum of the heights of its children to 0 and vice versa like that of the accordion.
[accordion.webm](https://github.c
navbar.webm
om/user-attachments/assets/40378300-ec2d-49f0-9988-2fb2e2401493)
accordionAndNavbar.webm

Copy link

Hi @SourishBiswas23

Thank you for your support in helping us improve FlyonUI!

We’ve received your submission and will respond within few business days. Our team handles issues one at a time, and we’ll be reviewing yours as soon as possible.

In the meantime, any additional details or a reproducible example would be greatly appreciated and will help us resolve the issue more efficiently.

Thank you for your patience and understanding!

@PruthviPraj00
Copy link
Member

Hello @SourishBiswas23,

Thank you for bringing this issue to our attention. Please give us some time to resolve it; we plan to include the fix in the next release.

Thank you for your patience!

@PruthviPraj00 PruthviPraj00 added the bug Something isn't working label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants