Skip to content

borderWidth not working on RN 0.51 Android #17144

@maartenvandillen

Description

@maartenvandillen

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Environment:
OS: macOS Sierra 10.12.6
Node: 7.6.0
Yarn: 0.27.5
npm: 4.1.2
Watchman: 4.7.0
Xcode: Xcode 9.1 Build version 9B55
Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.51.0 => 0.51.0

Target Platform: Android (7.0)

Steps to Reproduce

  1. render a View with style borderWidth: 2

Expected Behavior

In previous RN releases, the border would be rendered with a width of 2.

Actual Behavior

Since upgrading to RN 0.51 the border is rendered with a width of 1.
Using a similar style like for instance borderTopWidth: 2 does work.

Reproducible Demo

Let me know if you cannot reproduce this

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions