Menu is broken when run on test #2749
dohaicuong
started this conversation in
General
Replies: 2 comments 4 replies
-
I also reproduce this, it seems to be coming from this commit: chakra-ui/zag@5c1ff93 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I recommend using |
Beta Was this translation helpful? Give feedback.
4 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
I have a simple test with Menu component
data-state
to beclosed
data-state
to beopen
more details: https://github.com/dohaicuong/ark-ui-menu-test/blob/master/src/App.test.tsx
This test works fine with
@ark-ui/[email protected]
.However when I tried to update to newer
@ark-ui/react
version, thedata-state
is alwaysclosed
, even after clicking the trigger.I've tested several versions of
@ark-ui/react
:3.4.0
,3.5.0
,3.6.2
and the problem is persisted.I've tested with both happy-dom and jsdom and they behave the same
Link to Reproduction (or Detailed Explanation)
https://github.com/dohaicuong/ark-ui-menu-test/blob/master/src/App.test.tsx
Steps to Reproduce
3.4.0
,3.5.0
,3.6.2
Ark UI Version
3.3.0
Framework
Browser
happy-dom and jsdom
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions