Skip to content

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

@lidord-wix

Description

@lidord-wix

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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions