Skip to content

app crash on goBack with createNativeStackNavigator #2929

@AdrishS-AW

Description

@AdrishS-AW

Description

When I switched Stack from createStackNavigator to createNativeStackNavigator for performance, I started facing these issues:

  1. When navigating to a new screen, some shadow/overlay thing persists until I navigate to another screen and come back (random)
  2. When I press back, the app crashes (random)

I have a hunch that its related to new architecture, because on a different app I worked which was using old architecture, this didn't happen.

Screen_Recording_20250520_131822_Access.mp4

Steps to reproduce

Changed Stack from createStackNavigator to createNativeStackNavigator for performance gains

Snack or a link to a repository

https://github.com/accesswealth/access-pro-voyager

Screens version

4.3.0

React Native version

0.75.5

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

Real device

Device model

Samsung Galaxy A35

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Missing reproThis issue need minimum repro scenarioPlatform: AndroidThis issue is specific to Android

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions