-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Description
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.).
iignatov
Metadata
Metadata
Assignees
Labels
No labels