diff --git a/docs/examples/on_request_close.md b/docs/examples/on_request_close.md index dfe60fba..f723a111 100644 --- a/docs/examples/on_request_close.md +++ b/docs/examples/on_request_close.md @@ -4,4 +4,5 @@ This example shows how you can use the `onRequestClose` prop with a function to This is especially important for handling closing the modal via the escape key. +Also more important if `shouldCloseOnOverlayClick` is set to `true`, when clicked on overlay it calls `onRequestClose`. [](codepen://claydiffrient/KNjVBx)