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 Platform.select on Mac #2374

Merged
merged 3 commits into from
Feb 12, 2025

Conversation

amgleitman
Copy link
Member

Summary:

During the merge up to 0.77, Platform.select was accidentally broken. This fixes it.

https://github.com/microsoft/react-native-macos/blame/5c43268b1c28538c517702ce83d0ca5adffcb05a/packages/react-native/Libraries/Utilities/Platform.macos.js#L87

Test Plan:

The newly added unit tests properly cover this case.

@amgleitman amgleitman requested a review from a team as a code owner February 12, 2025 22:32
@amgleitman amgleitman merged commit 176c66a into microsoft:main Feb 12, 2025
12 checks passed
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.

2 participants