You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Controls whether the modal can be dismissed by swiping down on iOS.
182
+
This requires you to implement the `onRequestClose` prop to handle the dismissal.
183
+
184
+
| Type | Default |
185
+
| ---- | ------- |
186
+
| bool |`false`|
187
+
188
+
---
189
+
179
190
### `onRequestClose`
180
191
181
192
The `onRequestClose` callback is called when the user taps the hardware back button on Android or the menu button on Apple TV. Because of this required prop, be aware that `BackHandler` events will not be emitted as long as the modal is open.
182
-
On iOS, this callback is called when a Modal is being dismissed using a drag gesture when `presentationStyle` is `pageSheet or formSheet`
193
+
On iOS, this callback is called when a Modal is being dismissed using a drag gesture when `presentationStyle` is `pageSheet or formSheet`. When `allowSwipeDismissal` is enabled this callback will be called after dismissing the modal.
0 commit comments