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

Android does not scroll to fields not currently visible #33

Open
clfristoe opened this issue Oct 9, 2018 · 3 comments
Open

Android does not scroll to fields not currently visible #33

clfristoe opened this issue Oct 9, 2018 · 3 comments

Comments

@clfristoe
Copy link

I am using KeyboardAwareScrollView along with your library to scroll through fields in a redux form. This is a sample that incorporates what I'm doing: https://snack.expo.io/H1JsBYcc7

If you choose the Android simulator, then go to the Navigation View Example and navigate through all the fields, the last field is hidden despite being in focus. I have been troubleshooting this for a while and can't quite figure out why it's occurring. Wondering if you have any suggestions?

@ardaogulcan
Copy link
Owner

Hey @clfristoe , starting with v0.1.8 you can use avoidKeyboard prop on KeyboardAccessory with default ScrollView. It should scroll to visible field, please check the screens/NavigationViewExample.js on https://snack.expo.io/@ardaogulcan/react-native-keyboard-accessory-playground

@clfristoe
Copy link
Author

I just tried the link you sent and all the fields below the keyboard are hidden when using the Android simulator. When I try to incorporate it into my app, the keyboard sticks to the top of the view and hides all content as well.

@clfristoe
Copy link
Author

I should add that if I tap on the third or fourth field when the keyboard is not currently visible, it scrolls as expected. It only remains hidden when I navigate using the arrows.

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

2 participants