-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
Description
Feature Request
Ionic version:
[x] 5.x
Describe the Feature Request
The Idea is to use a modal globally in the app. Currently a modal depends on a specific page, can't be lazy loaded and the same modal can't be used on another page without copying it.
So the idea is to add an option to make it possible to let a page appear as a modal.
Describe Preferred Solution
Maybe a parameter that can be passed to the NavController.
await this.navController.navigateForward('/foo', {
showAsModal: true
});Describe Alternatives
Alternative is to use the ModalController, but it has some disadvantages like mentioned before.