Skip to content

Conversation

@Saadnajmi
Copy link
Collaborator

Summary:

Fixes #2183

This PR fixes two issues with RCTDevLoadingView:

  • In the macOS implementation of RCTDevLoadingView, we forgot to do some cleanup of instance variables on hide, which was causing the loading view to stick around.

  • The NSWindow that RCTDevLoadingView used would return false for canBecomeKeyWindow. Somewhere internal to Appkit, makeKeyWindow was called, would fail, and produce a warning in the Xcode console. By making the window an NSPanel instead, we can avoid this issue.

Test Plan:

Loaded RNTester a couple of times and didn't observe an issue with the loading view sticking around.

@Saadnajmi Saadnajmi merged commit 704b60c into microsoft:main Sep 26, 2024
9 of 12 checks passed
@Saadnajmi Saadnajmi deleted the loadingView branch April 23, 2025 17:50
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.

[0.75] Bundle loading banner randomly gets stuck

2 participants