-
Notifications
You must be signed in to change notification settings - Fork 75
Scrollview scrolls up on focus #55
Comments
Please use |
Here is a snack: https://snack.expo.io/SJbdHEjp4 and here is a repo to clone: https://github.com/woodpav/keyboard-test The snack behaves as expected but when you clone the repo and put it onto the simulator it does work. Sometimes the view changes to the right size but most of the time the TextInput moves down and hides below the keyboard. |
I didn't find anything unusual, maybe I didn't understand what you meant. |
On android devices, you may need to add them manually: <InputScrollView keyboardAvoidingViewProps={{ behavior: "padding" }}>
... |
I am experiencing it on iOS and Android simulators and physical devices. It happens after refreshing the app. To reproduce:
The GIF shows the keyboard avoiding working after the initial open then failing after the next two refreshes. In order to trigger the bug you need to refresh the app at least once. Sorry GIF loop makes it a little confusing to follow. |
Unfortunately, I can't run your project. |
@woodpav Please try v1.9.3 |
On both Android and iOS the keyboard scrolls up when I focus on an input.
My view is roughly
Do I need to mess around with offset props or do I need to build a demo? Great repo btw, thank you.
The text was updated successfully, but these errors were encountered: