-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Type Pick RequestPick requests to include commits inside a React Native releasePick requests to include commits inside a React Native release
Description
Target Branch
0.81
Link to commit or PR to be picked
Description
The switch component got broken on Legacy Arch after facebook/react-native#53067. That's because the React runtime does not know anymore how big are the switches.
On the new arch, we implemented a way for the native platform to inform React about the switch size, but we forgot to implement the same mechanism in the Legacy Arch.
React Native 0.81 has to support the Legacy Arch anyway, so this PR implements the same mechanism to inform React about the size of the Switch when running on the legacy arch.
This should fix facebook/react-native#53537
floydkim and scarlac
Metadata
Metadata
Assignees
Labels
Type Pick RequestPick requests to include commits inside a React Native releasePick requests to include commits inside a React Native release