Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

320
Vistas
Is there a way from stopping screens overlapping on each other like this in react native?

I've followed the react navigation example exactly, however my screens keep stacking on top of each other like this initially it gives the error

Found screens with the same name nested inside one another.

However, even in the cases where I give them unique names it still occurs. Anyone have any idea how to fix this? I'm using the latest version (6.x) example in the react navigation docs.

enter image description here

enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Your screens will be nested like that, what you can do is hide the header of the stacks. Something like this:

export default function App() {
  return (
    <NavigationContainer
      options={{ headerShown: false }}
    >
      <Tab.Navigator>
        <Tab.Screen name="HomeStack" component={HomeStackScreen} />
        <Tab.Screen name="SettingsStack" component={SettingsStackScreen} />
      </Tab.Navigator>
    </NavigationContainer>
  );
}

You can find description of headerShown here: https://reactnavigation.org/docs/bottom-tab-navigator#headershown

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda