Skip to content

Commit dfdb451

Browse files
authored
Update api-events.mdx (#7224)
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`
1 parent 1db86ce commit dfdb451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/versioned_docs/version-7.16.0/api/api-events.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ modalDismissedListener.remove();
177177

178178
## registerModalAttemptedToDismissListener(iOS 13+ only)
179179

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

182182
```js
183183
// Subscribe

0 commit comments

Comments
 (0)