Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple modals #180

Closed
magico opened this issue Mar 10, 2023 · 2 comments
Closed

Multiple modals #180

magico opened this issue Mar 10, 2023 · 2 comments

Comments

@magico
Copy link

magico commented Mar 10, 2023

This has already been mentioned on #61, but it would be great to have the ability of implementing multiple modals straight out of the box.

The solution mentioned on #61 works, but it messes up with the ability of closing by clicking on the background.

@raj-patil53
Copy link

Passing different data-modal-background-id for each modal worked for me.

@excid3
Copy link
Owner

excid3 commented Mar 15, 2024

This should be supported now that we've switched to the <dialog> element.

@excid3 excid3 closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants