rci icon indicating copy to clipboard operation
rci copied to clipboard

Keyboard does not re-open on focus after tapping 'Done' on keyboard in Chrome on iOS

Open leytonblackler opened this issue 11 months ago • 0 comments

Hey there,

Firstly, thanks for creating this component - I really appreciate the goal with it.

We've just encountered an unusual issue when this component is used in Chrome on iOS.

When the input is focused for the first time, the keyboard appears. Tapping the 'Done' button on the iOS keyboard results in the keyboard closing and the field is becoming unfocused (as expected), although tapping the field again shows the field as being focused but does not re-open the keyboard.

Here's a video showing what happens after tapping 'Done': https://github.com/leonardodino/rci/assets/18431950/e2b816bc-fc29-4267-99e8-b109a1686e7d

This is particularly unusual because if the same steps are repeated, but instead of tapping 'Done', I just tap outside of the keyboard to close it, then the keyboard re-opens fine the second time.

Here's a video of it working correctly when tapping away from the keyboard: https://github.com/leonardodino/rci/assets/18431950/b8440fda-7402-4fab-9955-081833d6c4d2

We discovered this issue in our own app but I've tested it again using the code sandbox example provided and the issue is reproducible there.

We've tested it out on two separate iPhones, one using iOS version 15.5 and the other on 16.5.1, both running Chrome version 115.0.5790.130 for iOS, and the issue is occurring on both.

Let me know if you need any further info!

Cheers.

leytonblackler avatar Jul 23 '23 22:07 leytonblackler