react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

[iOS] Black screen after a modal with animation is dismissed

Open topi-identio opened this issue 4 months ago • 5 comments

What happened?

  1. Open a modal with animations, e.g.:
    options: {
      animations: {
        showModal: {
          enter :{
            enabled:true,
            alpha: {
              from: 0,
              to: 1,
              duration: 300,
            },
          },
        },
      },
    },
  1. Close modal
  2. A black screen appears and doesn't ever disappear Image

What was the expected behaviour?

No black screen

Was it tested on latest react-native-navigation?

  • [x] I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

Repo to reproduce issue: https://github.com/topi-identio/rn-0.77-test/tree/rnn/modal-animation-test

  • Run app
  • Press "Open modal"
  • Press "Close" -> Black screen

In what environment did this happen?

React Native Navigation version: 0.77.3 React Native version: 8.2.1 Has Fabric (React Native's new rendering system) enabled: yes Node version: 20.17.0 Device model: iPhone 16 (Simulator) iOS version: 18.5

topi-identio avatar Aug 07 '25 07:08 topi-identio

I’m facing a similar issue. I resolved it by removing the animations, and it worked for me.

huynhuchuy2001 avatar Aug 07 '25 09:08 huynhuchuy2001

I’m facing a similar issue. Only with custom animations

JuraSemenenko avatar Aug 18 '25 07:08 JuraSemenenko

Same here

ahtokca avatar Oct 06 '25 17:10 ahtokca

Hi @topi-identio. Thanks for the report. We are investigation this issue with Reanimated https://github.com/software-mansion/react-native-reanimated/issues/8344

gosha212 avatar Oct 08 '25 17:10 gosha212

Hello. It's still actual even with reanimated last patch. I suppose it's not related to reanimated at all?

Belobopka avatar Dec 09 '25 08:12 Belobopka