React-native-keyboard-aware-scroll-view: Keyboard scrolling to top when "Hardware" keyboard connected

Created on 16 Nov 2017  路  1Comment  路  Source: APSL/react-native-keyboard-aware-scroll-view

When the hardware keyboard is not connected, the scroll view is behaving as expected.

However, when I use "Connect Hardware Connected" in the iOS simulator (I don't have a hardware keyboard on hand for iOS) the scrollview keeps returning to the top after editing.

Most helpful comment

For me, this issue appear because the input onChange function trigger too many actions, so that onScroll has been blocked, this time, i scroll the page, after actions has been done, the keyboard disappear, it scroll back to the input, sometime scroll to the top. so i set enableResetScrollToCoords={false} that fix my issue.

>All comments

For me, this issue appear because the input onChange function trigger too many actions, so that onScroll has been blocked, this time, i scroll the page, after actions has been done, the keyboard disappear, it scroll back to the input, sometime scroll to the top. so i set enableResetScrollToCoords={false} that fix my issue.

Was this page helpful?
0 / 5 - 0 ratings