Skip to content

Conversation

@MichaelParadis
Copy link
Contributor

@MichaelParadis MichaelParadis commented Oct 9, 2025

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_backgroundColor on 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#53247

Note: 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

  • fixed: Fix issue with RN styling of the Switch component on iOS 26

Security

Testing

Changes can be
tested via Pre-release


In Atlantis we use Github's built in pull request reviews.

@cloudflare-workers-and-pages
Copy link

Deploying atlantis with  Cloudflare Pages  Cloudflare Pages

Latest commit: 23b0805
Status: ✅  Deploy successful!
Preview URL: https://37d5c200.atlantis.pages.dev
Branch Preview URL: https://job-138165-fix-switch-on-ios.atlantis.pages.dev

View logs

@github-actions
Copy link

github-actions bot commented Oct 9, 2025

Published Pre-release for 23b0805 with versions:

  - @jobber/[email protected]+23b08058b

To install the new version(s) for Mobile run:

npm install @jobber/[email protected]+23b08058b

@jdeichert jdeichert self-requested a review October 10, 2025 19:54
Copy link
Contributor

@AutumnDaweBaillie AutumnDaweBaillie left a comment

Choose a reason for hiding this comment

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

Just as a btw heads up Chris, Matt and I were discussing possibly moving away from the native iOS Toggle/Switch in the future mostly because of the new liquid glass bounce animation feeling really off with everything else. But also we can wait a bit to see what Apple does, if they keep it or nah.

Copy link
Contributor

@jdeichert jdeichert left a comment

Choose a reason for hiding this comment

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

Confirmed working in a tophat build, looks good!

@jdeichert jdeichert changed the title fix(components-native): Fix issue with iOS 26 and setting the ios_backgroundColor fix(components-native): Fix switch background style on iOS Oct 10, 2025
@jdeichert jdeichert changed the title fix(components-native): Fix switch background style on iOS fix(components-native): Fix switch background issue on iOS Oct 10, 2025
@jdeichert jdeichert changed the title fix(components-native): Fix switch background issue on iOS fix(components-native): Fix switch background issue on iOS 26 Oct 10, 2025
@jdeichert jdeichert merged commit 4314a3b into master Oct 10, 2025
21 checks passed
@jdeichert jdeichert deleted the JOB-138165/fix-switch-on-ios-26 branch October 10, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants