Skip to content

Conversation

@davwheat
Copy link
Owner

@davwheat davwheat commented Nov 19, 2020

PR from original repo by @izadmehr

migrate to react native 0.39.
change flex:1 to flexGrow:1. This would fix the following error which occured on the keyboard open: attempted to set an invalid frame to inner scrollview

migrate to react native 0.39

fix error: attempted to set an invalid frame to inner scrollview
when textInput selected which will be under the keyboard, if it's the first user select, it' will remain under keyboard and scrollTo will not work. The problem aries from the fact that keyboard height is undefined until open in the  iOS.
keyboardShouldPersistTaps= {true} is deprecated, using keyboardShouldPersistTaps='always' instead
remove flexGrow & flexBasis which is needed for react native 0.39
@davwheat davwheat merged commit 424dbf5 into davwheat:master Nov 19, 2020
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