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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -