<Image> backgroundColor doesn't follow borderRadius on android
See original GitHub issuebackgroundColor
follows the borderRadius
on ios but on android it doesn’t.
<Image
source={ require('./logo.png')) }
style={{
width: 100,
height: 100,
backgroundColor: '#fff',
borderRadius: 50
}}
/>
Is there another method for android that you can use to render a rounded image with transparency on a white background?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:11
- Comments:16 (3 by maintainers)
Top Results From Across the Web
Border Radius with background cannot work - Stack Overflow
I set the webview on Android 2.x browser. I want my button to have border-radius and background-color . I specify these values in...
Read more >border-radius - CSS-Tricks
You can give any element “rounded corners” by applying a border-radius through CSS. You'll only notice if there is a color change involved....
Read more >Incorrect background-color bleeds on cell corners using ...
Set ROW background-color, then target one CELL in ROW and give it a new background-color plus a border-radius:>0. Actual results: The exposed corners...
Read more >Rounded Corners on Images | IANR Media | Nebraska
The CSS property border-radius adds rounded corners on images. You can round all of the image's corners or just select corners, vary the...
Read more >Adjust corner radius and smoothing – Figma Help Center
Lots of buttons and icons in Figma have rounded corners. It's easier for eyes to follow circles and curves, while sharp edges disrupt...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
overflow: 'hidden',
does not work for me on Android. The image still renders on top of its parent view without a border radius!You can probably wrap your image with a view. Something like this should work on both android and ios:
We should still fix this bug though.