Replies: 2 comments 2 replies
-
Moved to Zag.js where it'll be investigated. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've tested this with the Zag menu component.js and can't seem to reproduce the bug |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
The menu/modal ends up in a halfway state between open/closed. In the example the menu gets "stuck" open and visible.
In other cases I've seen the menu still open but with opacity 0, and clicking the invisible menu performs the action!
The example code is obviously not representative of real code, but it was the easiest way to get a suspense event to happen at the right time.
Link to Reproduction
https://stackblitz.com/edit/chakra-ui-v3-jwwsw7et?file=src%2FApp.tsx
Steps to reproduce
I'm not sure what causes it exactly, but it involves the open state changing at the same time as a suspense event.
Chakra UI Version
3.x.x
Browser
No response
Operating System
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions