When using a text input box on iOS, regardless of whether keyboard type is set to “number pad” or left “default,” there is no “Done” or “Return” button shown and the keyboard covers any navigation buttons or other fields to show at the bottom of the screen. After doing some quick research, people coding in React have added a “done” button using the “returnKeyType” property seen here: https://facebook.github.io/react-native/docs/textinput.html#returnkeytype - It would be SUPER helpful for us to be able to control this functionality as it really hurting our user experience on iOS.
Since Android already has the done button by default, it’s a non-issue (other than the overlap.) The cross-platform value options would be very useful:
returnKeyType
Determines how the return key should look. On Android you can also use returnKeyLabel
.
Cross platform
The following values work across platforms:
done
go
next
search
send
Android Only
The following values work on Android only:
none
previous
iOS Only
The following values work on iOS only:
default
emergency-call
google
join
route
yahoo