Skip to content

borderRadius for specific corner not working on iOS #13760

Closed
@facuacostag

Description

Hello guys!

I'm trying to style an Image component applying borderRadius for just two corners. The code I'm using to accomplish that is this:

imageStyle: {
		width: 100,
		height: 100,
		borderBottomLeftRadius: 5,
		borderBottomRightRadius: 0,
		borderTopLeftRadius: 5,
		borderTopRightRadius: 0,
		marginRight: 20
}

As you can see, I'm applying a borderRadius of 5 to both left corners and I'm having the next result:

  • On Android:
    20170503_143347

  • On iOS:
    screen shot 2017-05-03 at 14 28 56

Seems like the iOS version is not applying the values.

Additional Information

  • React Native version: 0.44.0
  • Platform: iOS & Android
  • Development Operating System: MacOS Sierra 10.12.4

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