How to have Dialog with Tooltip where the tooltip does not reopen when I close the Dialog #4122
Replies: 1 comment
-
I moved it to General |
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 am currently using the code below for the tooltip dialog combo
But when ever I close the dialog the tooltip reopens , I don't want that behavior.
I tried to use seperate state for the tooltip , and set the tooltip closed when ever my dialog was open but , it did not work as I had set
the
onOpenChange
of the tooltip tosetIsTooltipOpen
. It seems like the tooltip is opened after some timeI also tired to dispach a
mouseout
event in the button but that also did not work.I tried clicking on the document after I closed the dialog and even that did not work
How can i fix it ?
Beta Was this translation helpful? Give feedback.
All reactions