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

KeyboardAwareFlatList scrolls back to top of form when selecting input - iOS

Open richlewis14 opened this issue 3 years ago • 7 comments

I have had a read through numerous posts in here and am yet to find a solution that works, I am hoping that someone can point me in the right direction

When I click on an input field near the bottom of the form I am taken back to the top and have to scroll back down to the input field I was filling in (this is happening on sim and real device for iOS)

I've attached a video to demonstrate (though the keyboard appears to be omitted at the end for some reason).

I am on RN 0.66.4 and version 0.9.5 of this repo

These are the options I am passing at the moment

<KeyboardAwareFlatList
     enableResetScrollToCoords={false}
     showsVerticalScrollIndicator={false}
     keyboardOpeningTime={0}
     keyboardShouldPersistTaps="handled"

https://user-images.githubusercontent.com/1084186/167400646-028f111e-2516-4754-b56e-6a48d737519e.mp4

richlewis14 avatar May 09 '22 11:05 richlewis14

This problem also arises,how to solve it

ezzzzd5 avatar May 12 '22 05:05 ezzzzd5

Hi, were you able to solve this issue?

stealkiller06 avatar May 21 '22 10:05 stealkiller06

Haven't been able to resolve as yet unfortunately

richlewis14 avatar May 21 '22 12:05 richlewis14

I'm currently running into a similar issue 😞

josephk96 avatar Jun 02 '22 08:06 josephk96

Has anyone solved this? I'm having the same issue as well :/

mgntr-mauro-fernandez avatar Jul 11 '22 12:07 mgntr-mauro-fernandez

This is quite annoying. I have a similar issue using KeyboardAwareScrollView.

helloanil avatar Sep 25 '22 12:09 helloanil

which library did u use in the club name textInput

Thuan60th4 avatar Apr 09 '23 11:04 Thuan60th4