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

Can't overlay modals #272

Open
phackwer opened this issue Sep 24, 2019 · 1 comment
Open

Can't overlay modals #272

phackwer opened this issue Sep 24, 2019 · 1 comment

Comments

@phackwer
Copy link

Hi,

I have a modal to edit some itens in my application, and inside this modal I have a remove button which calls another modal service in the scope of the previous modal controller to present a confirmation dialog.

How can I keep the previous modal open and only close both modals if the confirmation button is clicked, but closing just the confirmation modal if cancel button is clicked? Why is my first modal closed when the new one (child) is called?

@dwmkerr
Copy link
Owner

dwmkerr commented Sep 26, 2019

At the moment the service only supports ones modal at a time (if you are using bootstrap) as this is a limitation of the bootstrap modal itself I'm afraid. So you'll have to fork and hack it to make it work!

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

2 participants