Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Flipper Layout plugin freezes apps in some cases when using Modals #1399

Description

@djMax

🐛 Bug Report

Clear and concise is going to be a doozy. BUT, I have a react-native app using react-navigation. I added an overlay spinner using various plugins and then finally just using a raw react-native Modal (not a react-navigation modal). When the Modal is dismissed, I cannot click on the app anymore. Anywhere. I noticed in XCode that the UITransitionView that hosted the modal was "still there" after the Modal went away. A coworker couldn't reproduce, but then COULD reproduce when enabling the layout plugin in Flipper. Sure enough, we can all now reproduce IF the layout plugin is enabled. If it is not enabled, the UITransitionView goes away, and the app works as intended.

Far be it from me to guess, but perhaps something is holding on to a reference that causes the transition view not to clean up.

To Reproduce

Use react-navigation stack navigator or similar in RN 0.63.1 with Flipper, then add this to the app:

https://www.npmjs.com/package/react-native-loading-spinner-overlay

Bring up a modal, take it down, and then you will not be able to click anything.

Environment

iOS 13.6/XCode 13.6 (also happens in 13.3)
RN 0.63.1
Latest of all related packages

Metadata

Metadata

Labels

Needs AttentionA project member needs to reply here

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions