angular-modal-service icon indicating copy to clipboard operation
angular-modal-service copied to clipboard

Can't overlay modals

Open phackwer opened this issue 5 years ago • 1 comments

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?

phackwer avatar Sep 24 '19 15:09 phackwer

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!

dwmkerr avatar Sep 26 '19 02:09 dwmkerr