Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 499398e

Browse files
authored
docs: correct unclear heading
Change `Close Modal on Overlay Click` to `Prevent Modal from closing on Overlay click`
1 parent 0142841 commit 499398e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/chakra-ui-docs/pages/modal.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function InitialFocus() {
209209
}
210210
```
211211

212-
### Close Modal on Overlay Click
212+
### Prevent Modal from closing on Overlay click
213213

214214
By default, the modal closes when you click it's overlay. You can set
215215
`closeOnOverlayClick` to `false` if you want the modal to stay visible.

0 commit comments

Comments
 (0)