React-native-keyboard-aware-scroll-view: iOS 14.0 on keyboard dismiss _updateKeyboardSpace is called as well as _resetKeyboardSpace

Created on 17 Sep 2020  路  5Comments  路  Source: APSL/react-native-keyboard-aware-scroll-view

Hi,

Noticed a bug (on latest of this library & RN0.60.6) that occurs on iOS14, not 13, that when the keyboard is dismissed the _resetKeyboardSpace callback is not returning the keyboard to the proper scroll position. The callback is in fact firing, I have verified; however, the _updateKeyboardSpace is also called and the final position (after keyboard dismiss) of the textInput ends up quite a bit lower than desired.

It seems the "keyboardWillShow" event is getting triggered on the close keyboard event.

Most helpful comment

All 5 comments

I mean I don't really understand all the things this callback is doing, but the keyboardWillShow event seems to be firing on all interactions with the a TextInput, even typing, but just disabling this scrollToNode seems to return it to the expected behavior. This was tested on both simulators and actual devices -- previous behavior was restored to as it was on 13.

Facing this same error.

+1

+1

Was this page helpful?
0 / 5 - 0 ratings