useDismiss for vanilla javascript #2814
Unanswered
mdellanave
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm trying to use the floating.ui to show a drop down in a vanilla custom element.
Is there something like the React useDismiss function available for pure DOM platform?
My goal is to find an elegant way to hide the floating element when the user click somewhere else than itself
Beta Was this translation helpful? Give feedback.
All reactions