Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

borderWidth not working on RN 0.51 Android #17144

Closed
maartenvandillen opened this issue Dec 11, 2017 · 3 comments
Closed

borderWidth not working on RN 0.51 Android #17144

maartenvandillen opened this issue Dec 11, 2017 · 3 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@maartenvandillen
Copy link

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

@dseipp
Copy link

dseipp commented Feb 6, 2018

Having the same issue. Seems to fail when using borderRadius. Was able to fix it by moving to a sub view that didn't have the border radius set. (disclaimer: I'm on 50.3)

Check out this post: #12403

@react-native-bot
Copy link
Collaborator

Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version?

I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer.

How to ContributeWhat to Expect from Maintainers

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon. labels Feb 24, 2018
@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Feb 24, 2018
@maartenvandillen
Copy link
Author

The UI design has changed since I posted this, I don't need to use borderWidth anymore. You are correct that I was not using v0.53 at the time, because that wasn't released yet. If you really want to know if it's still not working go check yourself Mr react-native-bot.

@facebook facebook locked as resolved and limited conversation to collaborators Feb 24, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Feb 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants