-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Add enableBackdropDismiss to LoadingController #7975
Comments
Hi, is there is a way to prevent alert dismiss when pressing back-button with enableBackdropDismiss = false; ? @jgw96 |
Hello all! While this is an awesome feature request it is not something that we plan on doing anytime soon. Because of this I am going to move this to our internal feature tracking repo for now as it is just "collecting dust" here. Once we decide to implement this I will move it back. Thanks everyone for using Ionic! |
This issue was moved to driftyco/ionic-feature-requests#61 |
@jgw96 I implemented this. Please see the PR. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
This is a feature request for Ionic 2. I would like to have
enableBackdropDismiss
inLoadingController
, similar to the same feature inAlertController
.My use case is cancellation. Let's say the user started a long-running task (such as uploading a file) and the app showed a loading dialog. The user should be able to tap outside the loading dialog to cancel the upload. I can handle the cancellation from the code, but the LoadingController blocks all user interaction.
Another approach for this use case is to add a way to put a spinner inside an Alert dialog. For example, a
content
property which can be set to arbitrary HTML (<ion-spinner>
, etc.).The text was updated successfully, but these errors were encountered: