blocks icon indicating copy to clipboard operation
blocks copied to clipboard

PinCodeTextInput + onKeyPress (Android)

Open lenoirzamboni opened this issue 6 years ago • 1 comments

Currently, the onKeyPress event is not being fired for the numeric keyboards on Android. Since the onKeyPress event is only used to replace the current text, the normal usage of the component will not be affected (eg: first pin code filling).

Because this, we are using the default keyboard type on PinCodeTextInput on Android, since it has the option to do the replacement of the current text using long-press ( it is a bit annoying, but works).

There is an issue already opened on RN repository.

When the issue is solved, we should also update PinCodeTextInput to use the correct keyboard on Android.

lenoirzamboni avatar Sep 12 '19 16:09 lenoirzamboni

Gotcha. Thanks for investigating that.

barbosa avatar Sep 12 '19 17:09 barbosa