Skip to content

[New Arch] All border width values must be equal on new architecture #2662

@SeanBarker182

Description

@SeanBarker182

Description

Unable to set independent border width values when new architecture is enabled.

const style = {
  borderWidth: 4 
} // ✅ border appears

const style2 = {
  borderTopWidth: 4,
  borderRightWidth: 4,
  borderBottomWidth: 4,
  borderLeftWidth: 4
} // ✅ border appears

const style3 = {
  borderBottomWidth: 4
} // ❌ no border appears

const style4 = {
  borderWidth: 0,
  borderLeftWidth: 2,
} // ❌ no border appears

### Steps to reproduce

1. Install pods using `npm run pod:new:arc`
2. Start the application with `npm run macos:new:arc`
3. Observe the box examples under the "Border Width" section

### React Native Version

0.78.3

### Affected Platforms

Runtime - Desktop

### Areas

Fabric - The New Renderer

### Output of `npx @react-native-community/cli info`

```text
info Fetching system and libraries information...
System:
  OS: macOS 15.6
  CPU: (16) arm64 Apple M4 Max
  Memory: 1.20 GB / 48.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 24.5.0
    path: ~/.nvm/versions/node/v24.5.0/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.nvm/versions/node/v24.5.0/bin/yarn
  npm:
    version: 11.5.1
    path: ~/.nvm/versions/node/v24.5.0/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.16.2
    path: /Users/seanbarker/.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: Not Found
IDEs:
  Android Studio: 2025.1 AI-251.26094.121.2512.13840223
  Xcode:
    version: 16.4/16F6
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.16
    path: /opt/homebrew/opt/openjdk@17/bin/javac
  Ruby:
    version: 3.2.2
    path: /Users/seanbarker/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 19.0.0
    wanted: 19.0.0
  react-native:
    installed: 0.78.3
    wanted: 0.78.3
  react-native-macos:
    installed: 0.78.6
    wanted: ^0.78.6
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: false

info React Native v0.81.1 is now available (your project is running on v0.78.3).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.81.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.78.3&to=0.81.1
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".

Stacktrace or Logs

No stack trace

Reproducer

https://github.com/SeanBarker182/rnMacosRepro

Screenshots and Videos

Legacy Architecture

Image

New Architecture

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions