react-native-keyboard-input icon indicating copy to clipboard operation
react-native-keyboard-input copied to clipboard

Incorrect behaviour when scrolling downward to dismiss custom keyboard view [iOS]

Open pribeh opened this issue 5 years ago • 1 comments

While a custom keyboard view is selected and dragging downward on the scrollview/flatlist the position of the list ends up with an offset and the custom keyboard toggles no longer work. If you press the reset button everything works again until you repeat the above. onPress={() => KeyboardUtils.dismiss()} works fine to dismiss the custom keyboard

Steps to reproduce:

  • Tap one of the custom keyboard view toggles (show1 or show2)
  • Drag/scroll downward on the list such as to collapse the keyboard
  • Weird offset shows up
  • Tap on the toggles show1 or show2 again
  • Nothing happens
  • Tap the textinput or reset button and the correct behaviour resumes until you try the above again

Simulator Screen Shot - iPhone 11 Pro - 2020-01-05 at 11 45 37 Simulator Screen Shot - iPhone 11 Pro - 2020-01-05 at 11 45 43

  • iPhone X, X 11 Pro
  • React Native 0.59
  • RN Keyboard Input 6.0.0

pribeh avatar Jan 05 '20 16:01 pribeh

Hi @pribeh,

I'm not sure if the bug that you are reporting is the fact that pressing the show button does not open the custom keyboard (similar to this, but not the same) or that there's a "Weird offset"? If it's the latter, please mark it in the screenshot.

M-i-k-e-l avatar May 07 '20 13:05 M-i-k-e-l