Closed TrustOne closed 5 years ago
Once again, you deleted the issue template. You just kept the first part "What kind of Issue is this? Question / Problem". If a github repo contains an issue template, fill out everything.
maybe because I already use createMaterialTopTabNavigator.. right?
I don't think that's the cause. I couldn't imagine why createMaterialTopTabNavigator
interferes with the BottomNavigation. If you think that's the cause, try making a minimum example with https://snack.expo.io/, without all the other components in your screen, and check if onTabPress
fires.
Your screen ist very complex, and I think that this is the reason why it's not working. For example, the bottom navigation in your screenshot has no background color. This indicates that something is broken.
Your code is very complex and confusing, and I can't dig into it. You would be better off asking on https://stackoverflow.com.
I don't think this is an issue with the BottomNavigation, so I'm going to close this.
What kind of Issue is this? Question / Problem
I'm trying to use this lib, but ontabPress doesn't work,, I can see bottom tabs I made, but press function not working.. maybe because I already use createMaterialTopTabNavigator.. right?/ here is my screen.
Screenshot for reference, code below:
Here's my code: DetailScreen.js