Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 25.2k
borderStyle has no effect on Android, border is always solid #18285
Copy link
Copy link
Closed
Labels
Impact: RegressionDescribes a behavior that used to work on a prior release, but stopped working recently.Describes a behavior that used to work on a prior release, but stopped working recently.Issue: Author Provided ReproThis issue can be reproduced in Snack or an attached project.This issue can be reproduced in Snack or an attached project.Platform: AndroidAndroid applications.Android applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: FixedA PR that fixes this issue has been merged.A PR that fixes this issue has been merged.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Metadata
Metadata
Assignees
Labels
Impact: RegressionDescribes a behavior that used to work on a prior release, but stopped working recently.Describes a behavior that used to work on a prior release, but stopped working recently.Issue: Author Provided ReproThis issue can be reproduced in Snack or an attached project.This issue can be reproduced in Snack or an attached project.Platform: AndroidAndroid applications.Android applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: FixedA PR that fixes this issue has been merged.A PR that fixes this issue has been merged.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Setting
borderStylehas no effect on Android. Regardless of the setting, the border will always be solid.Environment
Expected Behavior
When setting the
borderStyleto "dashed" or "dotted", I expect the view to have a dashed or dotted border. This works correctly on iOS:Actual Behavior
Regardless of setting, the border is solid on Android:
Steps to Reproduce
Create a
Viewwith styles specifying aborderWidth,borderColor, andborderStyle(borderRadiuswas also set, since there seem to be existing issues with the border whenborderRadiusis not specified).This component will reproduce the issue:
An Expo Snack is also available that reproduces the issue: https://snack.expo.io/r1NCAukKf