React Native Multiline ReturnKeyType Bug

I created a TextInput where multiline={true}

. I wanted to prevent the user from entering a new line, so I installed returnKeyType={'done'}

. However, the counterweight returnKeyType

appears to be non-functional when the statement is multiline

true. Is there a work around for this, or do I just have to wait until they fix this? I am using an android phone and I am at revision 0.44.0.

+3


source to share


1 answer


try setting blurOnSubmit={true}

aside returnKeyType={'done'}

andmultiline={true}



+1


source







All Articles