Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property for on out focus click for not close Modal #29

Open
BhavikModi opened this issue Dec 4, 2019 · 2 comments
Open

Property for on out focus click for not close Modal #29

BhavikModi opened this issue Dec 4, 2019 · 2 comments

Comments

@BhavikModi
Copy link

Is there any functionality that Modal does not close on out side click?

@wwan5803
Copy link
Owner

wwan5803 commented Dec 5, 2019

It doesn't support it currently, can add this feature later or you can simply send a pull request

@Bonnev
Copy link

Bonnev commented Aug 25, 2022

Isn't this already supported via the onRequestClose field?

<ReactModal
...
	onRequestClose={() => setOpen(false)}
>
...
</ReactModal>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants