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

オープン
#8,140 コメント 2 件 リアクション 0 件 担当者 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時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wix/react-native-navigation のほかの issue

wix/react-native-navigation の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。