fix(components-native): Fix switch background issue on iOS 26 #2773
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivations
Due to the new iOS 26 update there is an issue with our styling of the switches. This PR aims to resolve that by disabling the
ios_backgroundColoron iOS 26 due to an issue with RN that isn't fixed in our version of RN but it is fixed in RN 0.81. See: facebook/react-native#53247Note: This fix depends on the new architechture branch in JM because it fixes the animation issues. I will generate a JM branch right now
Before
ScreenRecording_10-01-2025.11-55-07_1.MP4
After
iOS 26
Simulator.Screen.Recording.-.Testing.simulator.-.2025-10-09.at.07.08.28.mov
iOS 18
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-10-09.at.07.18.13.mov
Changes
Added
Changed
Deprecated
Removed
Fixed
Security
Testing
Changes can be
tested via Pre-release
In Atlantis we use Github's built in pull request reviews.