-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Expo SDK 52] - Input not working on iOS #5821
Comments
Same issue here. Upgrading react-native via expo 52 upgrade breaks the native-base input fields. |
Let us know if you manage to find a solution, I'll do the same but so far no results :/ |
Yep. Same here. using Native Base with Expo SDK 52.0.7 & React Native 0.76.2. Can't focus on Input elements, however it works after switching to React Native TextInput I really hope Native Base is not completely broken after this upgrade. |
Making everybody aware of this thread too: facebook/react-native#41801 |
I have a similar issue, i update expo to version 52.0.7 and now the Input is not working on IOS, when i pulse on it the keyboard hides automatically |
Same |
I’m experiencing the same issue |
I'm having the same issue |
same error |
2 similar comments
same error |
same error |
Passing the "isInvalid" property resolved the issue, but since the input remained in an invalid state, its borders turned red.
I believe this is not the best solution, but to quickly fix this bug, I had to edit the Native Base theme and override the 'error' color with the desired one.
|
@matheusbin have you dug into the native base code to see what IsInvalid does to make the component work again? maybe there's a patch we could make on the inputs to mimic it. I have had zero time with work lately to dig into this, but I will look when I can. |
it's due some of the styling added to the wrapper you can override this with the long term it's probably best to use a different UI component lib |
I made this wrapper component for convenience |
This works for me, Thanks |
Description
Input does not work on iOS
CodeSandbox/Snack link
https://github.com/ThiagoMunich/Input
Steps to reproduce
I'm working with NativeBase on a current project and I noticed that Input component it's not working on iOS (even on real device).
I created a new project from scratch to test, which is the one on the minimal example, and it didn't work as well. See the video below.
inputVideo.mov
NativeBase Version
^3.4.28
Platform
Other Platform
No response
Additional Information
I'm using the new Expo SDK 52.
package.json
The text was updated successfully, but these errors were encountered: