Skip to content
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

[Android] Container borderRadius covered by sub view #8649

Closed
ldn0x7dc opened this issue Jul 8, 2016 · 4 comments
Closed

[Android] Container borderRadius covered by sub view #8649

ldn0x7dc opened this issue Jul 8, 2016 · 4 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@ldn0x7dc
Copy link

ldn0x7dc commented Jul 8, 2016

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>
@SudoPlz
Copy link
Contributor

SudoPlz commented Jul 21, 2016

I have the same exact problem using an Image child..! Only in Android as well. I'm using react-native 0.29

@mwiley
Copy link

mwiley commented Aug 29, 2016

I'm having this problem on 0.32.

@mwiley
Copy link

mwiley commented Sep 5, 2016

#3198

This looks like the same issue.

@lacker
Copy link
Contributor

lacker commented Nov 30, 2016

Let's use #3198 instead - it has more discussion and the two issues are dupes. TLDR work is in progress to fix this

@lacker lacker closed this as completed Nov 30, 2016
@facebook facebook locked as resolved and limited conversation to collaborators Jul 19, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants