-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
iOS keyboard covering textinput #2524
Comments
Same here, on iOS the input is covered and on android the input is over sized. It used to work normally on v2.4.0 |
I inspected the GiftedChat.js file in node_modules/react-native-gifted-chat/lib/GiftedChat.js - line 238 I changed We don't need to these changes if the screen is wrapped in a safeareaview itself but it messes up with the navigation since I use react-navigation. I have used patch-package to fix this issue till someone releases an update. |
I fixed the problem by wrapping the GiftedChat component in SafeAreaView instead of View
But the xCode warnings still appear in the terminal |
for anyone facing this keyboard issue, i created this patch . react-native-gifted-chat+2.6.2.patch OR in node_modules/react-native-gifted-chat/lib/GiftedChat.js update this line —> transform: [ with this line —> transform: [ |
but the keyboard hides the content now, do you know how to fix this issue? |
try this after doing patch suggested by niteshagrawal |
Thank you for extending my answer @fkiDev. also @nikita10001 please try this and let me know if you still same issue |
@niteshagrawal It works-ish, but the |
Issue Description
Only happens in development build on iOS using
npx expo run:ios
Steps to Reproduce / Code Snippets
Additional information
The text was updated successfully, but these errors were encountered: