[Android] Hardware back button doesn't work when pushinh a screen with the same id as the root

Abierto
#8,140 2 comentarios 0 reacciones 1 asignado Ver en GitHub

@gosha212 ya está trabajando en esto.

Desde el 21/12/2025.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

platform: Android type: accepted/bug
What happened?

We have a case when we open a screen with the same id of the root, on top of the root (not necessarily directly, also when there's another screen in the stack).
While we do so, the Android hardware back button doesn't work.

What was the expected behaviour?

Android hardware back button should work :)

Was it tested on latest react-native-navigation?
  • I have tested this issue on the latest react-native-navigation release and it still reproduces.
Help us reproduce this issue!

No response

In what environment did this happen?

React Native Navigation version: 8.3.2
React Native version: 0.77.3 (reproduced on 0.73 as well)
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version: 22.17.0
Device model:
Android version:

Lenguaje dominante
MDX
Estrellas
13.2k
Forks
2.6k
Merge medio
2 d 10 h
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de wix/react-native-navigation

Todos los issues de wix/react-native-navigation

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.