Close any open modal back key
Modal service for AngularJS - supports creating popups and modals via a service.
Brought to you by:
evanfcrane
Originally created by: napcat
How can I close any open modal?
I use this on a mobile app, and i have a problem. If the user press the soft or hard android back key the modal stays open, and I want it to close. If there was I method on the service to close all open modals, I could easily use it on the back key event.
Any suggestion on this?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: kernowjoe
@napcat I've submitted a pull request to address closing a modal on locationChange https://github.com/dwmkerr/angular-modal-service/pull/141
This will help to assist in 'normal' user flow imo, I think anything outside of this could be handled elsewhere.