APSL / react-native-keyboard-aware-scroll-view

A ScrollView component that handles keyboard appearance and automatically scrolls to focused TextInput.
MIT License
5.24k stars 643 forks source link

Is there a way to prevent the scroll view from scrolling back to its original position when the keyboard is closed? #551

Open kiwioz opened 1 year ago

kiwioz commented 1 year ago

On long forms with many TextInputs, it would be preferred that the view stays where it is when the keyboard is closed, it doesn't scroll back to the original position before the keyboard was shown.

Is there a way to achieve this using this package?

neiker commented 1 year ago

enableResetScrollToCoords prop

bekatd commented 1 year ago

That prop does not work.

Proof: https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/356#issuecomment-1262542926