question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

borderBottomLeftRadius et. al. produce blurry corners on iOS

See original GitHub issue

It 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.

screen shot 2016-07-05 at 17 06 32

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:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
frontendloadercommented, Feb 10, 2017

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.

1reaction
rclaicommented, Jul 6, 2016

For me this happens on a real device but doesn’t happen on the simulator.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found