-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Can't focus into text fields, Android + external keyboard #31820
Comments
Same issue can be seen on Facebook Marketplace. Our workaround was to wrap the textinput in a Pressable and set focus manually. |
@brucelawson we are also facing this issue. Could you share the code snippet? Also, are you able to get it working on ios? |
@kriti18singh I will once we've tested and proved it. (I don't want to let something loose without knowing its side-effects) |
Commit 8 days ago appears related d4a498a |
Hey @brucelawson thanks for submitting this issue, we'll take a closer look soon and report back! |
@brucelawson: We've taken a look as a team and will pull this into our prioritized issues, will report back when it's in progress. Thanks again for submitting. |
Hi @alextait1, I would love to know if there are any updates on this matter. In the mean time we're looking at workarounds as described in #30464. |
Hey @pandu-supriyono I'm no longer working on this project, maybe @blavalla can provide an update |
Hello here, You can wrap
I can imagine more elegant solution on old arch, but new arch is hell challenging |
There are a tricky fix from the native side: https://github.com/ArturKalach/react-native-a11y/blob/master/docs/AndroidInput.md |
Are there any plans to fix the keyboard accessibility of the The workaround #30464 to wrap the The React Native |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Is there any proper solution to make it work as expected ? I am still facing this issue. |
Same here |
Great to see the priority given to this accessibility bug! It's 2 years, 8 months and 29 days since I posted it. |
Hello there, After some work with the native and a keyboard focus, I finally found a workaround for TextInput focusability. You can find it in the react-native-external-keyboard package, in the component called KeyboardExtendedTextInput. The solution works for Android and iOS, and support new arch (bridgeless is not supported). |
Is there any news on this? We also need to make sure TextInput is focusable with an external keyboard. |
Can not re-open this, so I created a new one: #45801 (with additional related test case)... |
@jamonholmgren - thank you for re-opening this. Temporary solution seems to be using the packages made by @ArturKalach, but I hope React Native can support external keyboard out of the box for all the folks not aware of the issue. |
In the first Expo example on https://reactnative.dev/docs/textinput - with an external physical keyboard on Android, we don't seem to be able to move the focus into/ between these input fields. It's fine if you tap the screen, and it's fine if Talkback is on and we alt+arrow between the fields. But with Talkback off, and just using the keyboard, we can't get focus into the fields.
Expected Results
That the fields can be focussed by the keyboard
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/PT9eBWga1 (saved from the first example on https://reactnative.dev/docs/textinput)
The text was updated successfully, but these errors were encountered: