nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.47k stars 1.4k forks source link

[BUG] - Unexpected Behavior of Select's Animation #3619

Open Lucas20000903 opened 1 month ago

Lucas20000903 commented 1 month ago

NextUI Version

2.4.6

Describe the bug

"react": "^18.2.0"
"framer-motion": "^11.2.10"
"@nextui-org/react": "^2.4.6",

Clicking quickly three times behaves differently than what's shown on the homepage; the event that opens and closes doesn't wait for the animation to finish

Compare how clicking works on Storybook with the homepage

storybook nextui nextui homepage

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Clicking quickly three times behaves differently than what's shown on the homepage

Expected behavior

Any event triggered by these clicks, such as opening or closing a modal or menu, should wait for any ongoing animations to complete before executing the next action. This ensures a smooth and visually consistent experience.

Screenshots or Videos

No response

Operating System Version

Browser

Chrome

linear[bot] commented 1 month ago

ENG-1254 [BUG] - Unexpected Behavior of Select's Animation

macci001 commented 3 weeks ago

I would like to work on this.

wingkwong commented 3 weeks ago

@macci001 go ahead

wingkwong commented 4 days ago

reopening - 3467 will be rescheduled v2.5.0.