angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.29k stars 6.73k forks source link

Single uib-modal-window, for multiple modals without backdrop #6440

Open louwie17 opened 7 years ago

louwie17 commented 7 years ago

In our app we currently have it so we can load multiple modals without a backdrop, so the user can still use the app in the background, while the modal is displayed. Now we want to show multiple progress modals, but if you close one to have the modals below automatically move up, much like this: http://bootstrap-notify.remabledesigns.com/ (just with modals).

This is currently difficult as we create a new uib-modal-window wrapper for each modal: https://github.com/angular-ui/bootstrap/blob/master/src/modal/modal.js#L466 Would people be interested if we allow to reuse the uib-modal-window for multiple modals? this way we wouldn't have to manually update the locations of each modal, when another modal has been closed.

seriatechnologies-mateen commented 6 years ago

@louwie17 did you find any solution for this ?