How to have Dialog with Tooltip where the tooltip does not reopen when I close the Dialog #4123
DevDeepakBhattarai
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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