Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React Native Multiline ReturnKeyType Bug

I've made a TextInput where multiline={true} . I wanted to stop the user from being able to enter a newline themselves, so I set returnKeyType={'done'}. However, the returnKeyType prop seems to be nonfunctional when the multiline prop is true. Is there a work around for this, or will I just have to wait until they patch this? I'm using an android phone and am on react-native version 0.44.0.

like image 464
vjd Avatar asked Jul 07 '17 16:07

vjd


1 Answers

try to set blurOnSubmit aside from returnKeyType={'done'} and multiline

like image 115
ErickBergmann Avatar answered Nov 12 '22 14:11

ErickBergmann