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

Workaround for the flashes when useNativeDriver={true} #116

Merged
merged 2 commits into from
Feb 22, 2018

Conversation

peteroid
Copy link
Contributor

Workaround

  • add showContent to state for toggling the content in the modal
  • add hideModalContentWhileAnimating to props for using this workaround when useNativeDriver={true}

Credits

connect #92

- add prop: `hideModalContentWhileAnimating`
@mmazzarolo
Copy link
Member

@peteroid thank you so much for the clean workaround!

@mmazzarolo mmazzarolo merged commit b287b3f into react-native-modal:master Feb 22, 2018
@zhouyingkai1
Copy link

work well

@fonov
Copy link

fonov commented Jun 18, 2018

@peteroid Thanks so math!

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.

4 participants