According to this doc
with the example
that gives this result :
why do I have always this result, with exactly the same code:
And the highlight on the tap doesn’t work as well.
I checked all the dependencies and everything, it doesn’t change.
Tips: I have the same result as this doc shows, why is that different ?
Here are my dependencies:
"dependencies": {
"@react-native-async-storage/async-storage": "^1.17.11",
"@react-navigation/material-bottom-tabs": "^6.2.10",
"@react-navigation/native": "^6.1.1",
"@react-navigation/native-stack": "^6.9.7",
"@react-navigation/stack": "^6.3.10",
"react": "18.1.0",
"react-native": "0.70.6",
"react-native-gesture-handler": "^2.8.0",
"react-native-paper": "^5.1.0",
"react-native-safe-area-context": "^4.4.1",
"react-native-screens": "^3.18.2",
"react-native-vector-icons": "^9.2.0"
},
3
Answers
I just changed all version, to previous and its working fine now:
Just set the background color that you want :
You have to do some changes for same design. Enable
shifting
andlabeled
. AddtabBarColor
in eachTab.screen
.