-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[Borders] Halo shows through rounded borders #2017
Comments
As far as I can tell this is just an iOS bug - do you know if there is much we can do about it besides custom drawing? We're already doing come custom drawing for multiple border radii so more custom drawing isn't out of the question. cc @a2, @nicklockwood
|
Yeah, we still need to fix a few bugs in the border drawing to make it behave more like CSS. I can't tell at a glance whether it's using standard iOS drawing in this case, or our custom implementation, though I'd assume it's the former since the radii are equal. |
We've had this problem since before the custom borders so I'm pretty sure it's just an iOS thing.
|
Yeah, this is iOS's rendering. Unfortunately it repros on iOS 9b3 as well. |
I guess we should file a radar with Apple, in this case. Presumably as iOS9 is believed to be a bug fixing type update, its a good time for things like this to be addressed. Maybe I'm expecting too much :-D |
BTW, can this be related somehow to #1870 ? |
@grabbou This issue is different and has to do with Apple's implementation of cornerRadius. |
Hi there! This issue is being closed because it has been inactive for a while. But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/borders-halo-shows-through-rounded-borders- ProductPains helps the community prioritize the most important issues thanks to its voting feature. Also, if this issue is a bug, please consider sending a PR with a fix. |
Actually, using |
If you have a view with a background color that is different than the border's color, the background color seeps through the rounded borders.
Repro:
The text was updated successfully, but these errors were encountered: