Imperative mode not working? #1225
Answered by gabrieljablonski
GabrielMAraujo asked this question in Q&A
-
| Hi, I've been trying to do a custom implementation of the tooltip that requires me to open and close the tooltip programmatically, and it also must not close the tooltip when the mouse hovers out the anchor div. I read in the docs that the imperativeModeOnly prop should suffice in this case, but I tried to use it and it seems like it's not working. I made an example in CodeSandbox that shows this behavior (it should open the tooltip and never close it): https://codesandbox.io/p/sandbox/tooltip-forked-gf82hl |
Beta Was this translation helpful? Give feedback.
Answered by gabrieljablonski Sep 6, 2024
Replies: 1 comment 1 reply
-
| It seems to be indeed a bug. See #1226 for suggested workaround until it is fixed. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by GabrielMAraujo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
It seems to be indeed a bug. See #1226 for suggested workaround until it is fixed.