-
Notifications
You must be signed in to change notification settings - Fork 9
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
When textInput enabled multiline
, the field would be hidden by keyboard even it get focused
#48
Comments
I just tested and it works fine even for multiline TextInput. Have you set autoScrollToFocusedInput to true? Meanwhile I make the example to reflect you should set autoScrollToFocusedInput to true. <Form autoScrollToFocusedInput={true}>
<FormField index={0} />
<FormField index={1} />
</Form> |
@cychiuae Any reason why we did not set autoScrollToFocusedInput to true by default? |
Amazing it works. |
@louischan-oursky |
Thanks for reporting the android issue. @cychiuae Can you have a look when you have time? |
It is just a bug
Okay |
It seems it will have scrolling twice even disable the option. Btw, you will lose ability to make the next input scroll to visible window automatically if you disable the option |
It seems that it is not easy to prevent the scroll view from auto scrolling to just focused view https://stackoverflow.com/questions/6176391/stop-scrollview-from-auto-scrolling-to-an-edittext There are many answers. Some say setting two focus related properties while some say change windowSoftInputMode. |
as title description.
related issue: facebook/react-native#16826
Reproduce by code example:
Result:
The last textInput is focused, but it's behind keyboard.
The text was updated successfully, but these errors were encountered: