feat(modal-view-ios): handle iOS 13 dismiss modal gesture (#8024)

* feat(modal-view): introduce cancelable property on ShowModalOptions

* fix(modal-view): handle iOS 13 modal dismiss gesture

* chore: address PR comments
This commit is contained in:
Alexander Djenkov
2019-11-20 10:00:54 +02:00
committed by GitHub
parent 60ac4e7a05
commit c5df258043
3 changed files with 67 additions and 9 deletions

View File

@ -83,10 +83,15 @@ export interface ShowModalOptions {
}
android?: {
/**
* @deprecated Use ShowModalOptions.cancelable instead.
* An optional parameter specifying whether the modal view can be dismissed when not in full-screen mode.
*/
cancelable?: boolean
}
/**
* An optional parameter specifying whether the modal view can be dismissed when not in full-screen mode.
*/
cancelable?: boolean
}
export abstract class ViewBase extends Observable {