Skip to content

Border color bleeding bug when border radius is set. #10823

Closed
@joonhocho

Description

@joonhocho

img_8660

As you can see in the picture, border colors are bleeding when borderRadius is set.
It only happens when I use corner border radius such as borderBottomLeftRadius, borderBottomRightRadius.

Here's style for the node:

    borderWidth: StyleSheet.hairlineWidth,
    borderRightWidth: StyleSheet.hairlineWidth,
    borderBottomWidth: 2 * StyleSheet.hairlineWidth,
    borderColor: colors.itemBorder,
    borderRightColor: '#bbbcbd',
    borderBottomColor: '#bbbcbd',
    borderBottomLeftRadius: 4,
    borderBottomRightRadius: 4,
    overflow: 'hidden',

I've tried with different colors and it still happens.

Tested both on iOS simulator and real device iPhone 6 Plus. Same bug.
Haven't tested on Android.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions