react-native-modal-picker
react-native-modal-picker copied to clipboard
keyboardShouldPersistTaps warning
Warning: 'keyboardShouldPersistTaps={true}' is deprecated. Use 'keyboardShouldPersistTaps="always"' instead
@rodrigofontes Have you found a solution to this issue yet? I had this component working great before updating RN and dependencies.
Nvm. Changed it myself on line 134 in index.js.
@Mjuk-Biltvatt I changed the same but the warning still exists any ideas?
-NVM...just had to restart the simulator
I open a pull request for this https://github.com/crisys11/react-native-modal-picker/pull/1
This warning now has four open PRs #32, #40, #49, #52 that all does the same thing: appends ="always"
to the keyboardShouldPersistTaps
-prop in ScrollView
on line 134.
The last change to this repo was in 5 July 2016, so it looks like @d-a-n have abandoned this project and none of these PR-s will ever be merged. It may be better to use and support a fork that actually maintains the code and merges PR-s.
Per 11 June 2017 it is 119 forks and many of them have fixed this issue. So if you are tired of this warning and wants updates you could use one of these.