-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Closed
Labels
Component: SwitchPlatform: iOSiOS applications.iOS applications.Resolution: PR SubmittedA pull request with a fix has been provided.A pull request with a fix has been provided.
Description
Description
The width of the switch container seems to be off and it's causing the layouts to collide.
Steps to reproduce
- Use Switch component and built the app using xcode 26
React Native Version
0.79.5
Affected Platforms
Runtime - iOS
Output of npx @react-native-community/cli info
System:
OS: macOS 15.5
CPU: (10) arm64 Apple M1 Pro
Memory: 122.27 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.19.2
path: ~/.nvm/versions/node/v20.19.2/bin/node
Yarn:
version: 1.22.19
path: ~/.nvm/versions/node/v20.19.2/bin/yarn
npm:
version: 10.8.2
path: ~/.nvm/versions/node/v20.19.2/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.16.1
path: /Users/[email protected]/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.5
- iOS 18.5
- macOS 15.5
- tvOS 18.5
- visionOS 2.5
- watchOS 11.5
Android SDK:
API Levels:
- "28"
- "29"
- "30"
- "31"
- "33"
- "34"
- "35"
Build Tools:
- 28.0.3
- 29.0.2
- 30.0.3
- 33.0.1
- 34.0.0
- 35.0.0
System Images:
- android-33-ext4 | Google Play ARM 64 v8a
- android-34-ext12 | Google Play ARM 64 v8a
- android-34 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2024.3 AI-243.26053.27.2432.13536105
Xcode:
version: 16.4/16F6
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.11
path: /usr/bin/javac
Ruby:
version: 3.2.2
path: /Users/[email protected]/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 18.0.0
wanted: 18.0.0
react:
installed: 19.0.0
wanted: 19.0.0
react-native:
installed: 0.79.5
wanted: 0.79.5
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: true
newArchEnabled: true
Stacktrace or Logs
N/A
MANDATORY Reproducer
https://gist.github.com/matinzd/17a81fe4c4284d8dc986d00597e0e709
Screenshots and Videos

RodolfoGS, mzaien, mphill, wafwoof, vladyslav-honchenko and 1 more
Metadata
Metadata
Assignees
Labels
Component: SwitchPlatform: iOSiOS applications.iOS applications.Resolution: PR SubmittedA pull request with a fix has been provided.A pull request with a fix has been provided.