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

iOS 14.0 on keyboard dismiss _updateKeyboardSpace is called as well as _resetKeyboardSpace

Open c-moss-talk opened this issue 6 years ago • 5 comments

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.

c-moss-talk avatar Sep 17 '20 18:09 c-moss-talk

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.

c-moss-talk avatar Sep 19 '20 18:09 c-moss-talk

It seems to be related to https://github.com/facebook/react-native/issues/30037

lovejaco avatar Sep 26 '20 15:09 lovejaco

Facing this same error.

000xuandu avatar Sep 29 '20 06:09 000xuandu

+1

heyman333 avatar Oct 22 '20 06:10 heyman333

+1

vb-ben avatar Nov 25 '20 08:11 vb-ben