react-native-keyboard-aware-scroll-view icon indicating copy to clipboard operation
react-native-keyboard-aware-scroll-view copied to clipboard

View scroll under keyboard after first key press on iOS

Open Guccieii opened this issue 2 years ago • 5 comments

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

https://user-images.githubusercontent.com/50413696/171209683-031099b2-138c-4aff-bd27-54af251cfb70.mp4

Guccieii avatar May 31 '22 15:05 Guccieii

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

daimonkor avatar Jun 01 '22 16:06 daimonkor

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

heyalexchoi avatar Jul 26 '22 23:07 heyalexchoi

adding worked for me

keyboardOpeningTime={Number.MAX_SAFE_INTEGER}

mentioned in #418

Oxyaction avatar Jul 29 '22 06:07 Oxyaction

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.

heyalexchoi avatar Aug 08 '22 14:08 heyalexchoi

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"

LorandP avatar Aug 29 '22 11:08 LorandP