Skip to main content

All Questions

0 votes
1 answer
158 views

How set in the option the equal right padding or margin in the header for IOS and Android in React Navigation?

I should implement an equal gap for both sides and both platforms IOS and Android. For the right side, I did this with help of a minus margin, positive padding, and Platform. <Stack.Navigator ...
Oleg Zinchenko's user avatar
0 votes
1 answer
309 views

Status bar text is black after app go to background although 'light-content' is being used - iOS 15

I am having a weird bug. I am using react-native 0.61.5 and react-navigation 4.0.10. After my app goes to the background and the user enters it again, the status bar is not showing. I think that text ...
Alija Fajic's user avatar
3 votes
0 answers
2k views

Back button doesn't show in React Navigation 6.x with nested navigators

My React Native app has a root Stack Navigator with some screens and nested navigators: /* Root Stack Navigator */ const disableBackButtonOpts = { headerBackVisible: false, gestureEnabled: false } ...
steformicola's user avatar
0 votes
1 answer
498 views

How to make react-native navigation screen fill up ios simulator screen

I have a problem with react native navigation screen Here is my problem picture: enter image description here As you can see the navigation screen is shown smaller than the simulator screen size. Here ...
Ryan's user avatar
  • 126
0 votes
1 answer
840 views

How do I put the Pulll to refresh indicator above the header in iOS?

On iOS apps when the header is big pull to refresh brings down even the header and shows the refresh icon above the header. The Refresh Control puts it relative to the FlatList so if I pull to ...
Archimedes Trajano's user avatar
0 votes
1 answer
181 views

How do I navigate to a react native screen which displays like iOS's 'fullScreen' mode

I am trying to navigate to another screen in my react native app which presents itself like iOS presents it's view in 'fullScreen' mode. I have attached the example, is it possible to do it in React-...
M Has Khan's user avatar
1 vote
3 answers
806 views

React Navigation width is not 100% fit to screen on ios simulator

When I tried just to render the HomeScreen component not using Stack.Screen I was able to get 100% width but when I tried to use code bellow, 100% width screen is not working const HomeScreen = () =&...
SamTaps's user avatar
  • 63
1 vote
1 answer
798 views

AWS Amplify Authenticator React Native Tab Bar Navigation white screen instead of rendering my app

I recently switched my app from AppAuth to Authentication with AWS Amplify for React Native and try to integrate the AWS Amplify Authenticator into my app. As described in the docs, I am wrapping ...
the_smart_home_maker's user avatar
0 votes
1 answer
116 views

Getting "undefined is not an object" trying to pass navigator prop to grandchildren

My React Native app structure is as follows: a Drawer navigator, which contains a BottomTabNavigator, which itself contains 3 tabs (each of them Stack navigators). My issue comes when trying to pass ...
John Cook's user avatar
0 votes
1 answer
38 views

Trying to push StackScreen in React Native

Whenever I activate the onPress method by tapping on a message, the MessageScreen component just re-renders rather than displaying ChatScreen. This happens even if I replace ChatScreen with any other ...
John Cook's user avatar
1 vote
2 answers
2k views

How do I create a react-native full-screen modal that will cover a SafeAreaView with tabs?

If I have a bottom tab navigator and I the screens within that navigator to navigate to a modal which will be truly full-screen (covering SafeAreaView), how do i I do that? From what i understand, ...
leecsargent's user avatar
0 votes
1 answer
612 views

React-Native - Error: `StackViewTransitionConfigs` has been removed

I'm getting this error on a Android simulator Error: StackViewTransitionConfigs has been removed. Ive looked at the react-navigation documentation and it does not seem like StackViewTransitionConfigs ...
Charl's user avatar
  • 155
1 vote
1 answer
160 views

I am trying to add image to tab bar item but is not loading

I want to add image to tab bar icon and want to change tab bar background color referring https://github.com/react-navigation/react-navigation/issues/1205#issuecomment-296708338 import React from '...
user avatar
1 vote
1 answer
142 views

Is there a way to navigate to a different screen from the menu built in my Parent Component?

I am trying to add a simple customized navigation menu to my react-native app, but the issue that I am coming across right now is that I can't seem to find a way to navigate to the selected menu items ...
Ben22029922099's user avatar
0 votes
1 answer
83 views

Changing initialRouteName dynamically when navigating between StackNavigators (Nested Stack)

I have used multiple StackNavigators inside a single StackNavigator. I want to navigate to a specific screen in a stack instead of the initialRouteName defined when navigating. I have tried the ...
Sahitha Nelanga's user avatar

15 30 50 per page