wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.02k stars 2.67k forks source link

Navigation.dismissAllModals() Shows black screen on IOS #7789

Open HunainHumail opened 11 months ago

HunainHumail commented 11 months ago

What happened?

I am using this function:

  const onCloseClick = () => {
    return Navigation.dismissAllModals();
  };

But the function is not working as expected and it is causing bug in IOS. Android is working fine. dismissAllModals() makes the whole screen black on IOS.

I am using "react": "18.2.0", "react-native": "0.72.4", "react-native-navigation": "^7.37.0",

IOS: 16.1 (simulator) Xcode 14.1

What was the expected behaviour?

The modals should close and the app should work normally.

Was it tested on latest react-native-navigation?

Help us reproduce this issue!

Just use the latest react native navigation on IOS 16.1 with latest react native version. Use this function:

Navigation.dismissAllModals();

It will make the screen black.

In what environment did this happen?

React Native Navigation version: 7.37.0 React Native version: 0.72.4 Has Fabric (React Native's new rendering system) enabled: (yes/no) YES Node version: v20.5.1 Device model: iPhone 14 Pro (Simulator) iOS version: 16.1

ahtokca commented 11 months ago

Navigation.dismissAllModals(); causes black screen for me too :(

Kath-rocket commented 11 months ago

Have the same -😬 🆘 🛟

persona019 commented 11 months ago

Same problem with black screen

annakhoma216 commented 11 months ago

I have the same issue, would appreciate help if someone knows how to deal with it

ahtokca commented 11 months ago

any help?

ahtokca commented 11 months ago

Anyone willing to help with the issue for a Bounty?