-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bug when keyboard is showed with createMaterialTopTabNavigator of react-navigation #1
Comments
@AlexisJamin - Thanks for your PR! It seems that this library was not compatible with createMaterialTopTabNavigator of react-navigation, because if I used the code you attached directly without react-navigation, it works well on iPhone 6S. Your PR looks good, but it more looks like workaround to bypass the issue. My suggestion is,
|
@just4fun thanks for your reply. Indeed my PR is a workaround. But I don't have the skills sorry to do better at this point. Here is my snack reproducing the bug : https://snack.expo.io/ByDDZv_yN Hope it helps ! :-) |
@AlexisJamin - I debugged your demo, the issue is existed indeed. However, the weird thing it that the Since this library is pretty simple, rather than improve it to integrate with every popular libraries, I'd like to find a common way to handle it easily. In this case, your PR is not a workaround, it's also an approach for user to customize the height, so I'd like to accept it. My further suggestions:
Thanks. |
@just4fun thanks for your answer. I'm using react-navigation (v2.13.0) used by Expo XDE v.30.0.0 (last is v31.0.0 that just came out). It's not an old version. I think we should really get rid of this bug ! |
@AlexisJamin - I mean the latest react-navigation, the latest version is 3.x. Anyway, I'd like to re-clarify my points.
|
Hey,
Here is my code :
And here is what I get when I click on the
<TextInput/>
:I'm using Expo : v30.0.0
React : v16.3.1
React Native : 0.55.4
Bugs on iPhone 6S and Android Huawei P6 2018
EDIT : I'm also using react-navigation : 2.13.0. And createMaterialTopTabNavigator with TabBarPosition: "bottom".
If I put TabBarPosition: "top", it removes the bug :
Thanks for your help ! :-)
The text was updated successfully, but these errors were encountered: