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 -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -