raynor85 / react-native-material-selectize

A React Native component inspired to Selectize which follows Material Design guidelines.
MIT License
55 stars 32 forks source link

`keyboardShouldPersistTaps` prop required of `ScrollView` parent #6

Closed ehegnes closed 6 years ago

ehegnes commented 6 years ago

When Selectize is a child of a ScrollView, the ScrollView's keyboardShouldPersistTaps prop must be set to either handled or always for dropdown completion to work properly.

This is the case in the example project, but this detail is not listed anywhere in the documentation. It took me a couple of hours to discover that this was the culprit. Perhaps having this detail mentioned in the README or elsewhere would help others.

raynor85 commented 6 years ago

Feel free to do a pr for that. I’ll merge it

On Sun, 22 Apr 2018 at 19:52 Eric Hegnes notifications@github.com wrote:

When Selectize is a child of a ScrollView, the ScrollView's keyboardShouldPersistTaps prop must be set to either handled or always for dropdown completion to work properly.

This is the case in the example project, but this detail is not listed anywhere in the documentation. It took me a couple of hours to discover that this was the culprit. Perhaps having this detail mentioned in the README or elsewhere would help others.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/raynor85/react-native-material-selectize/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AFjD9SUnPpyHNmz4e0bv3Qb1CvX6Q37kks5trNGJgaJpZM4Te-t7 .