jossmac / jossmac/react-images
closeOnBackdropClick without carousel component
Open
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 433
- PR merge metrics
- No merged PRs in 30d
Description
I'm currently using the library in multiple places on my site with no issues. However when using the modal without the carousel component I can't get closeOnBackdropClick to work. I'm using the modal to display a form.
```
{this.state.formOpen ? (
X
Submit
) : null}
```
Looking in react dev tools it is set to true and and pressing the esc key closes the modal just fine. Has anyone come across this issue before?
Contributor guide
Assessment
This issue has not been assessed yet.