ionic-team / ionic-team/ionic-framework
IonModal unable to handle dismiss (onDidDismiss)
Offen
triage
- Vorherrschende Sprache
- TypeScript
- Sterne
- 52.7k
- Forks
- 13.3k
- Ø Merge
- 1 T. 15 Std.
- Gemergte PRs (30 T.)
- 51
Beschreibung
I have a simple modal with controlled `isOpen` state:
` { alert('DID') }} presentingElement={presentingElement}>`
On iOS the modal is dismissable with a gesture due to `presentingElement`, which needs to be handled.
`onDidDismiss` does not fire.
Documentation is saying that this returns a promise. I tried to handle it via `ref.current.onDidDismiss().then(...` but no avail.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.