ios - react-native - TouchableWithoutFeedback with ScrollView -


please me problem. have long list of items, i'm using scrollview. have input field , using touchablewithoutfeedback make onpress event dismiss keyboard, -

return (      <touchablewithoutfeedback onpress={keyboard.dismiss}>       <view >         <headermain/>         <scrollview >              ...         </scrollview>       </view>      </touchablewithoutfeedback> 

and problem scrolling doesn't work. should make scrolling , dismissing keyboard both work correctly?

i think should using keyboardshouldpersisttaps and/or keyboarddismissmode props scrollview.

you can read more in docs: https://facebook.github.io/react-native/docs/scrollview.html


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -