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

Fix issue where disabling automatic scroll would also disable all keyboard avoiding behavior.

Open terribleben opened this issue 5 years ago • 1 comments

Hi there!

It looks like passing enableAutomaticScroll={false} not only disables automatic scroll, it also prevents the component from avoiding the keyboard at all. This limits the enableAutomaticScroll prop to only the actual scroll behavior.

terribleben avatar Jan 14 '20 23:01 terribleben

Having similar issues today - it looks like disabling enableAutomaticScroll disables the resizing of the scrollview, so the scrollview appears behind the keyboard on the iOS. I think using the library you'd assume setting enableAutomaticScroll to false only means that when you tap an input it won't automatically scroll and you can use utilities like scrollToFocusedInput to initiate a scroll (e.g. if you want to add some extra height for a particular input).

martsie avatar Feb 21 '22 04:02 martsie