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

未关闭
#8,140 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@gosha212 已经在做这个了。

开始于 2025年12月21日。

评估

这个 Issue 还没有评估数据。

描述

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:

主要语言
MDX
星标
13.2k
派生
2.6k
平均合并
2 天 10 小时
30 天内合并 PR
6

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

wix/react-native-navigation 的其他 Issue

查看 wix/react-native-navigation 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。