Replies: 1 comment 1 reply
-
Thanks for the discussion. It's due to this line here This is expected and as you pointed out, we do it in our own tests. Hopefully Chrome will update at some point not to need this. We will also eventually have testing utils for Tooltip and Popover much like we have for other components such as Menu https://react-spectrum.adobe.com/react-aria/Menu.html#test-utils- |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
We’re using React Aria hooks (useTooltipTrigger / useTooltip / usePopover) via our wrapper. In Jest, hover does not show a tooltip until after any mouse interaction (click or mouseMove). Tab-to-trigger works.
Expected
Question
document.body
the right approach?Refs
Env
Beta Was this translation helpful? Give feedback.
All reactions