You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the KeyboardAvoidingView as a view with behavior="padding", I expect that the TextInput contained within should be kept in view when I focus it doing something similar to the following:
The TextInput never emerges, due to the offset introduced by the NavBar. I've confirmed this by disabling the NavBar with hideNavBar and confirming that the KeyboardAvoidingView works as expected.
open the app on a device where the keyboard pops up (doesn't do this for the simulator for me - is there a way to force react-native run-ios to choose particular hardware?)
navigate to the login screen and try to type in the TextInput
try hiding the nav bar to see the desired effect in that component
The text was updated successfully, but these errors were encountered:
Version
Tell us which versions you are using:
Expected behaviour
When I use the
KeyboardAvoidingView
as a view withbehavior="padding"
, I expect that the TextInput contained within should be kept in view when I focus it doing something similar to the following:https://snack.expo.io/@sgardn04/scrolling-with-textinput
Actual behaviour
The TextInput never emerges, due to the offset introduced by the NavBar. I've confirmed this by disabling the NavBar with
hideNavBar
and confirming that theKeyboardAvoidingView
works as expected.Steps to reproduce
npm i
inside the Example directoryreact-native run-ios
to choose particular hardware?)TextInput
The text was updated successfully, but these errors were encountered: