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

Add enableBackdropDismiss to LoadingController #7975

Closed
imgx64 opened this issue Sep 5, 2016 · 5 comments
Closed

Add enableBackdropDismiss to LoadingController #7975

imgx64 opened this issue Sep 5, 2016 · 5 comments
Assignees

Comments

@imgx64
Copy link
Contributor

imgx64 commented Sep 5, 2016

This is a feature request for Ionic 2. I would like to have enableBackdropDismiss in LoadingController, similar to the same feature in AlertController.

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.).

@askona
Copy link

askona commented Sep 14, 2016

Hi, is there is a way to prevent alert dismiss when pressing back-button with enableBackdropDismiss = false; ? @jgw96

@brandyscarney brandyscarney self-assigned this Jan 24, 2017
@jgw96
Copy link
Contributor

jgw96 commented Feb 6, 2017

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!

@jgw96
Copy link
Contributor

jgw96 commented Feb 6, 2017

This issue was moved to driftyco/ionic-feature-requests#61

@imgx64
Copy link
Contributor Author

imgx64 commented Jun 6, 2017

@jgw96 I implemented this. Please see the PR.

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 2, 2018

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants