software-mansion / react-native-screens

Native navigation primitives for your React Native app.
MIT License
2.94k stars 507 forks source link

Screen not available for interaction for a while when navigate back #2238

Closed Adil7767 closed 1 month ago

Adil7767 commented 1 month ago

Description

Current Behavior When i go back any screen with physical back button or navigation back button. Previous screen can not interacting for a while (about 500ms)

Expected Behavior When i navigate back. I should be able to interact immediately this screen.

here is my pkgs version

    "react": "18.2.0",
    "react-native": "0.74.2",
    "@react-navigation/drawer": "^6.6.15",
    "@react-navigation/native": "^6.1.17",
    "@react-navigation/native-stack": "^6.9.26",
    "react-native-responsive-sizes": "^2.0.4",
    "react-native-safe-area-context": "4.10.1",
    "react-native-screens": "^3.26.0",

same issues was rose in 2020 but still open and now its here again

https://github.com/react-navigation/react-navigation/issues/9124

Steps to reproduce

a

Snack or a link to a repository

https://github.com/react-navigation/react-navigation/issues/9124

Screens version

3.26.0"

React Native version

0.74.2

Platforms

iOS

JavaScript runtime

Hermes

Workflow

Expo managed workflow

Architecture

Fabric (New Architecture)

Build type

Release mode

Device

Real device

Device model

ios 13

Acknowledgements

Yes

github-actions[bot] commented 1 month ago

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

github-actions[bot] commented 1 month ago

Hey! 👋

It looks like you've omitted a few important sections from the issue template.

Please complete Steps to reproduce section.

tboba commented 1 month ago

Hi @Adil7767, thanks for creating this issue. Have you checked if this issue also occurs on the newest version of react-native-screens? Also, could you send us a correct reproducer to reproduce this issue?

tboba commented 1 month ago

Hi @Adil7767, unfortunately I cannot spot any issues, related to delays between old and new architecture. I've tested example application from react-native-screens and both Paper and Fabric have interaction disabled during the transition which is completely fine. If you still think this is a problem, please let us know in this PR with appropriate reproducer. Thanks!