Skip to content

confirmModal inside other modal; broken ESC functionality if <DialogsWrapper /> is added at the end of main App.vue #25

@erip2

Description

@erip2

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersproblem-solvingsolving problems that arise in using the package

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions