-
Notifications
You must be signed in to change notification settings - Fork 220
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
I added TextInput in Scrollview and I found that Keyboard obscures TextInput. #71
Comments
@YanfangLi248 I had the same issue, I have created a different method and publish it on react-native-spacer. It should fix the issue! |
@hieunc229 your POC does not seem to work at all |
Thanks for checking out the repo, @dextermb. Can I have a little more details about your situation? (It'd be great if there is something like a Expo's Snack demo). I could help |
@hieunc229 I ended up using the demo from your README. I have a Pixel 2 XL, so the input wouldn't get hidden by the keyboard so I increased the scale of the UI to make it so it did happen. But when I came to focusing the input it would simply sit underneath the keyboard. Not sure if its something to do with UI scale effecting the dimensions. Edit: Eitherway, probably shouldn't be discussing your project here. Feel free to open a thread on your side and I'll continue to help you debug. |
@dextermb Agree! Though, I am unable to test it on different devices. P/s: I've just updated the demo as it was using an older version. |
The library react-native-keyboard-aware-scroll-view deals with the problem very well |
I added TextInput in Scrollview and I found that Keyboard obscures TextInput.
<ScrollView> <View> ....... </View> <TextInput/> <KeyboardSpace/> </ScrollView>
The text was updated successfully, but these errors were encountered: