Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Library is interfering with react-native's Keyboard module #45

Open
mstankov opened this issue Dec 12, 2020 · 1 comment
Open

Comments

@mstankov
Copy link

I've noticed that hiding the navigation bar like this:
changeNavigationBarColor('transparent', false, true);
affects the application in such a way that it somehow blocks the Keyboard module's events from firing, e.g. keyboardDidShow

Has anyone else faced this issue? I prefer hiding the navigation bar on android devices with soft navigation for better user experience but this is pretty bad because it affects other aspects of the user experience, for example the keyboard hides any inputs it goes over and libraries such as react-native-keyboard-aware-scroll-view stops functioning

@molimat
Copy link

molimat commented Aug 5, 2021

I dont think it is the same problem, but maybe you can solve it using the same solution.
When I show the keyboard the navigationBar shows up again even I had set hideNavigationBar() on my App.js.
To avoid it, I added an event listener to my componentDidMount (or useEffect(() => {},[]) with the code Keyboard.addListener('keyboardDidHide', hideStatusBarFunction);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants