borderBottomLeftRadius et. al. produce blurry corners on iOS
See original GitHub issueIt seems that when specifying some, but not all of borderBottomLeftRadius, borderBottomRightRadius, borderTopLeftRadius and borderTopRightRadius, you can end up with some strange effects in the other corners.
See this rnplay or code snippet:
'use strict';
var React = require('react-native');
var {
AppRegistry,
StyleSheet,
Text,
View,
} = React;
var SampleApp = React.createClass({
render: function() {
return (
<View style={styles.container}>
<View style={styles.box} />
</View>
);
}
});
var styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'white',
},
box: {
borderWidth: 1,
borderColor: 'black',
width: 150,
height: 150,
borderBottomLeftRadius: 10,
},
});
AppRegistry.registerComponent('SampleApp', () => SampleApp);
react-native 0.28.0
Seems to occur on iOS, but not on Android
Am I doing something wrong, or is this a bug?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Rounded cornes (border radius) Safari issue - Stack Overflow
So, Safari says "50% radius" is (in this example) 50px , and therefore the flat edges are the 12px of "leftover" border? Which...
Read more >iPhone Blurry in top left corner - Apple Support Communities
Any one else seeking a blurry rectangle at on their screen after doing the update? Any idea how to make it go away?...
Read more >border-bottom-left-radius - CSS: Cascading Style Sheets | MDN
The border-bottom-left-radius CSS property rounds the bottom-left corner of an element by specifying the radius (or the radius of the ...
Read more >There's a corner on my iPhone screen that started to blur, but I ...
This app can help you blur backgrounds, faces, or subjects in photos by providing you with brush paths in the magnifying glass. This...
Read more >iPhone blurry in the top left corner? You're not alone - iMore
A bug in iOS 15 is causing some users to see a blurry top left corner of their iPhone screen, luckily, there's a...
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
Merge #10823 and #11897 into this one?
Minimal reproduction on RNPlay: https://rnplay.org/apps/Cl4tGg
Am seeing this as of react-native version 0.40.
For me this happens on a real device but doesn’t happen on the simulator.