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

Border on a Single Side of a View is Same Color as backgroundColor when borderRadius > 0 (Android only) #16708

Closed
keith-kurak opened this issue Nov 6, 2017 · 4 comments
Labels
Platform: Android Android applications. 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.

Comments

@keith-kurak
Copy link

keith-kurak commented Nov 6, 2017

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Environment:
OS: macOS Sierra 10.12.6
Node: 8.4.0
Yarn: 1.2.1
npm: 5.4.2
Watchman: 4.9.0
Xcode: Xcode 9.1 Build version 9B55
Android Studio: 2.3 AI-162.3934792

Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: https://github.com/expo/react-native/archive/sdk-22.0.1.tar.gz => 0.49.3

Target Platform: Android (6.0)

Steps to Reproduce

  1. Create a View
  2. Give it a style with a non-zero width, backgroundColor, a non-zero borderRadius, a non-zero border_____Width, and a border_____Color that's different from the backgroundColor, where ____ is Top, Bottom, Left, or Right. (can also do multiple sides with colors and widths).
  3. Try it on Android.

Expected Behavior

I should see a box with rounded corners with a distinctly-colored border on at least one side.

Actual Behavior

The border is the same color as the box's backgroundColor.

screen shot 2017-11-06 at 4 10 01 pm

To compare with iOS, where this issue doesn't occur:
screen shot 2017-11-06 at 4 10 36 pm

Reproducible Demo

Expo Snack demonstrating issue

@stale
Copy link

stale bot commented Jan 5, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 5, 2018
@keith-kurak
Copy link
Author

This should stay open. It's still a bug. I was able to confirm it's still a bug by trying it out on Android in the latest version of Expo Snack - Expo 24 / React Native 51. It is still occurring there.

@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 5, 2018
@hramos hramos added the Android label Mar 8, 2018
@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Mar 18, 2018
@react-native-bot react-native-bot added Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. labels Mar 18, 2018
@stale
Copy link

stale bot commented Jun 17, 2018

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jun 17, 2018
@stale
Copy link

stale bot commented Jul 17, 2018

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Jul 17, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Jul 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: Android Android applications. 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.
Projects
None yet
Development

No branches or pull requests

4 participants