Specific border radius corner causes visual bug on other corners
See original GitHub issue- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.4
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 2.98 GB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 8.14.0 - ~/.nvm/versions/node/v8.14.0/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
SDKs:
Android SDK:
API Levels: 23, 27
Build Tools: 27.0.3
IDEs:
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: 16.6.0-alpha.8af6728 => 16.6.0-alpha.8af6728
react-native: 0.57.4 => 0.57.4
npmGlobalPackages:
react-native-cli: 2.0.1
Description
Applying a non-zero border radius value to a specific corner when all other corners are zero, causes the other corners to become slightly curved on Android.
Reproducible Demo
Code Snippet:
<View style={{
backgroundColor: 'red',
width: 100,
height: 100,
borderWidth: 5,
borderBottomLeftRadius: 15,
}} />
<View style={{
backgroundColor: 'green',
borderWidth: 5,
width: 100,
height: 100,
}} />
Expo Snack:
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Fix: specific border radius corner causes visual bug on other corners ...
I understand the motivation of adding extraRadiusForOutline to corner radius: without it there can be an empty space between border and view's background...
Read more >css - border-radius not working - Stack Overflow
My problem was border-collapse. It was set to: border-collapse: collapse; I set it to:
Read more >81556 - Outline property doesn't honor border radius - chromium
Couldn't agree more with timothyc, the bug doesn't even mention an outline-radius property anyway -- only that the outline doesn't honor border-radius.
Read more >Border Radius and border style with Chrome bug? - CSS-Tricks
When applying a border to an image that also has a radius of say 30px, in Chrome, the border disappears on the corners,...
Read more >Browser Zoom - Why Does It Break Your Page And How To ...
This happens because the background image is rasterized and, when zoomed, it cannot stretch evenly with the other parts of the page. I...
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 FreeTop 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
Top GitHub Comments
@kelset this bug is really annoying in my project. Let’s not wait a few months:) I made PR for fixing it.
is this somehow connected to my bug?