React-native-keyboard-aware-scroll-view: IOS - React Native 0.56 - scrolls to the top

Created on 30 Jul 2018  路  3Comments  路  Source: APSL/react-native-keyboard-aware-scroll-view

This happens only when the KeyboardAwareScrollView contains many elements more or twice the screen height. if you tap on the last element and when the keyboard hides it scrolls to the top...

Please see the gif down below to understand:

explain

Upstream issue

Most helpful comment

enableResetScrollToCoords={false} might help the problem, while there are still issues with InputTexts which at the bottom of the View.

All 3 comments

enableResetScrollToCoords={false} might help the problem, while there are still issues with InputTexts which at the bottom of the View.

@MonFig @pinkladywithcoco This bug caused by RN 0.56
Check this commit:
Fix currentlyFocusedField by Removing this usage in TextInputState

Seems an upstream issue, should be resolved with the July version of RN.

Was this page helpful?
0 / 5 - 0 ratings