Using the library with HeadlessUI, and adding the main <DialogsWrapper />
at the end of the main App.vue
file breaks the ESC
functionality. This happens when the confirm modal is opened with a button inside another modal.
This is the codesandbox for reference: https://codesandbox.io/s/vuejs-confirm-dialog-esc-example-luxigt
A reference from HeadlessUI repo: tailwindlabs/headlessui#426 (comment)
Thank you!