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

View scroll under keyboard after first key press on iOS #540

Open
Guccieii opened this issue May 31, 2022 · 5 comments
Open

View scroll under keyboard after first key press on iOS #540

Guccieii opened this issue May 31, 2022 · 5 comments

Comments

@Guccieii
Copy link

As the video shown, the view scroll under the keyboard after the first key pressed on iOS. Could someone suggest a solution? Thanks in advance.
App run on iPhone 13 simulator with iOS 15.2

react-native: 0.66.1
react-native-keyboard-aware-scroll-view: 0.9.5
Simulator.Screen.Recording.-.iPhone.13.-.2022-05-31.at.17.15.03.mp4
@daimonkor
Copy link

daimonkor commented Jun 1, 2022

The same, problem reproduced when KeyboardAwareScrollView is not root element and spend not full height screen (for example 2/3, first 1/3 contains header). I tried use the last textinput at bottom screen

@heyalexchoi
Copy link

having same issue
I'm seeing that the issue happens after i add text to input
and resets itself when focusing

so if i only focus from one text input to another, the scroll is correct
if i change text in one text input, the scroll is wrong
if i focus back and forth, even after the first change, the scroll is correct again

@Oxyaction
Copy link

adding worked for me

keyboardOpeningTime={Number.MAX_SAFE_INTEGER}

mentioned in #418

@heyalexchoi
Copy link

heyalexchoi commented Aug 8, 2022

adding worked for me

keyboardOpeningTime={Number.MAX_SAFE_INTEGER}

mentioned in #418

this just makes the view do nothing for me. it doesn't scroll to avoid the keyboard which... is the point of the library?

I had scrollEnabled set to false. setting that to true did improve the behavior.

@LorandP
Copy link

LorandP commented Aug 29, 2022

adding worked for me

keyboardOpeningTime={Number.MAX_SAFE_INTEGER}

mentioned in #418

This worked for me, thx!
RN: 0.68
"react-native-keyboard-aware-scroll-view": "0.9.5"

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

5 participants