React Native - Keyboard is automatically hiding

704 Views Asked by At

I've got a problem with keyboard in react native. I have a component with TextInput inside of it. The problem is when I am touching it - keyboard is starting to show, but immediately hiding back. (Checked with event listeners of Keyboard - event keyboardWilHide triggers, but I don't know what triggered it).

My assumption that the core of the problem in my navigation architecture. I have materialBottomTabNavigator which has materialTopTabNavigator inside, which has StackNavigator inside, and my component is a screen in stack navigator. Probably some tabs properties are triggering Keyboard Hide event, but I did not found any.

(In terms of debug launched app with my component moved out of this type of navigation and everything works fine).

Would appreciate any help. Thanks in advance!

0

There are 0 best solutions below