Skip to main content
29 votes
8 answers
74k views

As you can see below, I've tried many ways of setting the background color to green, all to no avail. The background remains blue like the image. The inactiveColor and activeColor are working (white ...
RandomCoder's user avatar
  • 1,428
28 votes
3 answers
44k views

I'm creating a Expo managed React Native app with TypeScript and having some problems with React Navigation and TypeScript. I want to specify the icon for the Bottom Tab Navigator on the Tab.Screen ...
Dainel vdM's user avatar
16 votes
2 answers
17k views

As seen on the code, tabPress is not called, am i doing it wrong or am i missing something, unfortunately i have not found any code samples for react navigation version 5. <Tab.Navigator labeled={...
Karli Ots's user avatar
  • 779
15 votes
4 answers
26k views

I’m using materialTopTabs and it seems like this loads all the screens in the navigator once its mounted. I have a screen List and inside it a tab navigator with 2 screens: Posts and Users. These two ...
abdi's user avatar
  • 591
14 votes
5 answers
18k views

In my react native app, I have a router component which uses react-navigation-material-bottom-tabs. In that component I have created it like this. const tabNavigator = ...
Buwaneka Sudheera's user avatar
12 votes
2 answers
26k views

I have 3 tabs and each tab contains a set of stack navigators. Home Stack const HomeNavigator = createStackNavigator(); const HomeStackNavigator = ({ navigation, route }) => { return ( ...
Vineel's user avatar
  • 275
11 votes
10 answers
108k views

I am developing React Native app. I was able to solve all problems by myself but this is exception. I am going to load another screen with bottom tab navigator. For example, after user login to the ...
Happy Smile's user avatar
11 votes
2 answers
25k views

I would like to navigate to the screen when the particular tab on the BottomTabNavigator is pressed. Normally, when the tab is pressed, it navigates to the configured screen automatically. But I don'...
TTCG's user avatar
  • 9,151
11 votes
1 answer
5k views

Having a navigation type definition as bellow, when I navigate from e.g AOne to BTwo with id:99 the console log of props.route.params shows correct info. But props.route.params.id throws type error ...
Amir-Mousavi's user avatar
  • 4,653
10 votes
5 answers
17k views

I have 3 tabs and each tab contains a set of stack navigators. Home Stack const HomeNavigator = createStackNavigator(); const HomeStackNavigator = ({navigation, route}) => { return ...
Vineel's user avatar
  • 275
10 votes
4 answers
12k views

I have a @react-navigation/bottom-tabs navigator when my app opens whose contents are like: <Tab.Navigator tabBarOptions={{ activeTintColor: '#77dd77', ...
szskdgi's user avatar
  • 305
8 votes
3 answers
9k views

I need to add an indicator for the active tab I tried to add a borderBottom with tabStyle but we can't check focused with that. Using react-navigation v5 and createBottomTabNavigator for bottom tabs. ...
sakshya73's user avatar
  • 7,411
8 votes
2 answers
20k views

I am using createMaterialBottomTabNavigator and I want to pass parameters to the routes: return ( <Tab.Navigator initialRouteName="Home"> <Tab.Screen name="Home" ...
showtime's user avatar
  • 1,462
8 votes
2 answers
7k views

Stack: React Native React Navigator Core components only I have this style on TabNavigator.tsx: const styles = StyleSheet.create({ tabStyle: { backgroundColor: colors.background, ...
Xiiryo's user avatar
  • 3,287
8 votes
2 answers
25k views

In my app.json folder, I have everything bundled nicely, but I have one undefined package at the bottom of the install list: "undefined": "react-navigation/bottom-tabs" I tried ...
MK_Pierce's user avatar
  • 966

15 30 50 per page
1
2 3 4 5
29