Tooltip onOpenChange is not syncing the open
value correctly
#2707
-
It make sense that Here is the example codesandbox. In the example, I am trying to implement tooltip with
Also wondering, what is the use case of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
That sandbox doesn't work so I'm not able to see what you mean. |
Beta Was this translation helpful? Give feedback.
-
Sorry about the link @benoitgrelard , it was private before and now it can be accessed. |
Beta Was this translation helpful? Give feedback.
Yeah I suspected it would be something like that. That's definitely something we don't recommend, typically a tooltip is placed over a "tool" which is typically a button, so putting the tooltip on click doesn't make sense as that's generally what triggers the action too (negating the point of having a tooltip). In these cases we generally recommend a popover with a little icon button as a trigger.