Dialog close function triggers twice #2846
Unanswered
shravanikandadai
asked this question in
Help
Replies: 0 comments
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.
-
Hi,
I'm using headlessui Dialog(Modals) in my Vue project and my application runs on a touch device. I have recently observed that the close function declared to the dialog is called twice on touch devices when user touches outside the dialog panel. I have a logic which needs to be executed on dialog close and this is being triggered twice which shouldn't be happening.
How to deal with this issue?
Beta Was this translation helpful? Give feedback.
All reactions