wix-incubator / react-native-keyboard-input

Use your own custom input component instead of the system keyboard
MIT License
818 stars 150 forks source link

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

Open pribeh opened 4 years ago

pribeh commented 4 years ago

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:

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

M-i-k-e-l commented 4 years ago

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.