Skip to content

Commit cba31dd

Browse files
kucukkanatdiasbruno
authored andcommitted
Update on_request_close.md
shouldCloseOnOverlayClick note added.
1 parent ff9b5a4 commit cba31dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: docs/examples/on_request_close.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ This example shows how you can use the `onRequestClose` prop with a function to
44

55
This is especially important for handling closing the modal via the escape key.
66

7+
Also more important if `shouldCloseOnOverlayClick` is set to `true`, when clicked on overlay it calls `onRequestClose`.
78
[](codepen://claydiffrient/KNjVBx)

0 commit comments

Comments
 (0)