Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
leytonblackler opened this issue Jul 23, 2023 · 0 comments

Comments

@leytonblackler
Copy link

leytonblackler commented Jul 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant