Skip to content

[Android] Container borderRadius covered by sub view #8649

Description

@ldn0x7dc

qq20160708-0 2x
The sub view does not respect container border radius.
Problem exists only on Android (on iOS, using overflow: 'hidden' will solve it).
I'm using react-native 0.28.
Example:

<View
  style={{height: 40, borderRadius: 20, backgroundColor: 'red', paddingHorizontal: 5, overflow: 'hidden'}}>
  <View style={{flex: 1, backgroundColor: '#0000ff66'}}/>
</View>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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