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

Remove back press listener on unmount #137

Merged
merged 1 commit into from
Feb 18, 2020

Conversation

Grohden
Copy link
Contributor

@Grohden Grohden commented Feb 17, 2020

This should fix the #111, where one could do: cond ? <Modalize ...> : null, and a cond=false could cause the modalize to keep listening to back press events

This should fix the jeremybarbet#111, where one could do: `cond ? <Modalize ...> : null`, and a `cond=false` could cause the modalize to keep listening to back press events
@jeremybarbet
Copy link
Owner

Looks good to me, thanks for that!

@jeremybarbet jeremybarbet merged commit eafb8ee into jeremybarbet:master Feb 18, 2020
marcinolek pushed a commit to marcinolek/react-native-modalize that referenced this pull request Feb 20, 2020
This should fix the jeremybarbet#111, where one could do: `cond ? <Modalize ...> : null`, and a `cond=false` could cause the modalize to keep listening to back press events
@Grohden Grohden deleted the patch-1 branch March 2, 2020 13:14
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

Successfully merging this pull request may close these issues.

2 participants