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
Post a Comment