Skip to content

Commit

Permalink
Update api-events.mdx (#7224)
Browse files Browse the repository at this point in the history
When testing the `registerModalAttemptedToDismissListener` event, I noticed that I had to set the `swipeToDismiss` flag to false. The docs currently falsely indicate it should be `true`
  • Loading branch information
VNDRN authored Aug 29, 2021
1 parent 1db86ce commit dfdb451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/versioned_docs/version-7.16.0/api/api-events.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ modalDismissedListener.remove();

## registerModalAttemptedToDismissListener(iOS 13+ only)

Invoked only on iOS pageSheet modal when `swipeToDismiss` flag is set to true and modal was swiped down to dismiss.
Invoked only on iOS pageSheet modal when `swipeToDismiss` flag is set to false and modal was swiped down to dismiss.

```js
// Subscribe
Expand Down

0 comments on commit dfdb451

Please sign in to comment.