react-native-screens: in new arch the modal stopped working correctly

Description

new buggy behavior with new arch enabled:

https://github.com/user-attachments/assets/119fa1dd-472b-4052-8406-d987f44f76a7

with old arch:

https://github.com/user-attachments/assets/c28ac505-88c1-4d31-9b4b-e93cb3b17429

Steps to reproduce

  1. enable new arch

  2. have a

<Stack.Screen
        options={{
          gestureEnabled: true,
          presentation: 'modal',
          headerShown: false,
        }}
        name="SettingsModal"
        component={SettingsStackNavigator}
      />

that pushes a navigation stack

Snack or a link to a repository

https://snack.expo.dev/@philipheinser/gnarly-red-bagel

Screens version

4.0.0-beta.14

React Native version

0.76.0

Platforms

iOS

JavaScript runtime

JSC

Workflow

React Native (without Expo)

Architecture

Fabric (New Architecture)

Build type

Release mode

Device

Real device

Device model

No response

Acknowledgements

Yes

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

image

I understand why you didn’t try each of them 😃 😃

I didn’t go that far into the investigation

Might be useful to describe the buggy behavior with words, in addition to your videos. Sometimes videos do not speak for themselves. Plus, your second video isn’t loading for me.