Replies: 1 comment
-
|
This looks like a testing-setup issue rather than a Tooltip bug. Unhover requires firing pointer-leave on the trigger and advancing the open/close timers (use |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I've created a re-usable Tooltip component using your primitive one, everything works fine but when I'm about to write tests the behavior for checking the
unhoverevent on its trigger won't work.I've created a simple codesandbox with the component code but for the test, I cannot testing the second part using
testing-library.I've pinned the versions in the codesandbox link above, since I cannot upgrade react libs version to latest but I saw radix-ui should work without any issue also on older versions.
Beta Was this translation helpful? Give feedback.
All reactions