Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RCTDevLoadingView never actually closing #1280

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

christophpurrer
Copy link

Please select one of the following

  • I am removing an existing difference between facebook/react-native and microsoft/react-native-macos 👍
  • I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos 👍
  • I am making a fix / change for the macOS implementation of react-native
  • I am making a change required for Microsoft usage of react-native

Summary

This fixes a copy/paste mistake where the loading panel is being shown after it fades out instead of being closed. This manifested as app exposé showing a transparent window and these panels showing up in the UI debugger (thus leaking).

Changelog

[macOS] [Fixed] - Fix RCTDevLoadingView never actually closing

Test Plan

Confirmed the loading panels actually now go away and app exposé behaves reasonably now.

Before

b

b2

After

after

This fixes a copy/paste mistake where the loading panel is being shown after it fades out instead of being closed. This manifested as app exposé showing a transparent window and these panels showing up in the UI debugger (thus leaking).

Confirmed the loading panels actually now go away and app exposé behaves reasonably now.
@christophpurrer christophpurrer requested a review from a team as a code owner July 22, 2022 23:27
Copy link
Collaborator

@Saadnajmi Saadnajmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Been wondering about this for so long, thanks!

@harrieshin harrieshin merged commit 31634e5 into microsoft:main Jul 25, 2022
@christophpurrer christophpurrer deleted the fixRCTLoadingView branch July 25, 2022 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants