wix-incubator / react-native-keyboard-input

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

CustomKeyboardView don't resize if empty #64

Open Fanda36 opened 5 years ago

Fanda36 commented 5 years ago

Hi,

when I have custom keyboard rendered:

image

and then I call KeyboardUtils.dismiss(), height doesn't update to 0px and hold same size without rendered custom keyboard:

image

When I was debugging then this line was "null" (without component): https://github.com/wix/react-native-keyboard-input/blob/31564eb82e7683b4a0ea89ae3289eba3eb8f63d5/src/CustomKeyboardView.js#L119

Could you please help me, how I can fix it. Maybe it will be only some styles to hold height of component inside.

Thank you.

skyliwq commented 5 years ago

+1 wechatimg16

onewkl commented 5 years ago

same problem

dabakovich commented 4 years ago

Guys, did you resolve the problem?

dabakovich commented 4 years ago

I just found a solution. To fix it remove android:windowSoftInputMode="adjustResize" in AndroidManifest.xml file.

EzequielDeOliveira commented 4 years ago

Hi guys, the same problem here any updates?