Skip to content

README Suggestions : Avoid Flashes Case on iOS #130

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

Merged
merged 1 commit into from
Mar 21, 2018

Conversation

louisiscoding
Copy link

@louisiscoding louisiscoding commented Mar 20, 2018

After the 'flashes' episode we had on react-native-modal (#92).
I found myself subject to some flashes when using the component on iOS.

And i've found out it was caused because i was setting a backgroundColor white directly to my Modal component instead of the child 'container'.

In order to avoid that someone else reproduce this mistake and goes through the same process, i'd like to suggest that we add a text to the READMe.md file to tell the user not to set backgroundColor style to the Modal as it will cause flashes on iOS.

Tell the user not to set `backgroundColor` style to the `Modal` as it will cause flickering on iOS.
@louisiscoding louisiscoding changed the title Update README.md README Suggestions : Avoid Flashes Case on iOS Mar 20, 2018
@mmazzarolo
Copy link
Member

Thank you 🙏

@mmazzarolo mmazzarolo merged commit 591890a into react-native-modal:master Mar 21, 2018
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