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.

Border radius on android 4.4.2

See original GitHub issue

On android 4.4.2 borderRadius and borderWidth is not render correctly

Environment

OS: Windows 10

Node: 8.5.0

Yarn: 1.2.1

npm: 5.3.0

Watchman: Not Found

Xcode: N/A

Android Studio: Version 2.3.0.0 AI-162.4069837


Packages: (wanted => installed)

react: 16.2.0 => 16.2.0

react-native: 0.53.0 => 0.53.0

Expected Behavior

A rounded rectangle must be rendered

Actual Behavior

Screen shot on android 4.4.2 image

Steps to Reproduce

Correct demo : https://snack.expo.io/BJuR6khOM

Run the following code on android 4.4.2

import React, { Component } from 'react';
import { Text, StyleSheet, TextInput} from 'react-native';


export default class App extends Component {
  render() {
    return (
      <TextInput style={styles.container}/>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    borderWidth: 1,
    borderColor: '#00ff00',
    borderRadius:10,
    backgroundColor: '#ff0000',
    color: '#252525',
    paddingLeft: 15,
    paddingRight: 15,
    marginTop:50,
  },
});

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
tuvshinbatgerucommented, May 8, 2018

It is working without borderWidth. With borderWidth issue still exists. Tested on latest release rn: 55.3 @himabindugadupudi

4reactions
sm2017commented, Mar 8, 2018

@react-native-bot it reproduced in last stable version too

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android 4.4.2: Problems with border-radius and box-shadow ...
I have created a small example on CodePen to demonstrate my situation: http://codepen.io/Trullus/pen/XKKmyV.
Read more >
CSS border-radius in Android 4.2.2 - Ionic Forum
Hi, is anyone having trouble implementing border-radius to a button or any element on Android 4.2.2? For the button above, the CSS rules: ......
Read more >
border-radius on Android 4.4.4 (Samsung Tab) not applied to ...
The following markup does not apply a border-radius to the on Android 4.4.2. .borderRads{ border-radius: 30; } <Button text="SIGN UP" id="register" ...
Read more >
Button BorderColor not showing on Android 4.4 - MSDN
HACK: fixes a bug where border doesn't get draw unless there is a radius. yourButton.BorderRadius = Device.OnPlatform<int>(iOS: 0, Android: ...
Read more >
Browser comparison | Can I use... Support tables for HTML5 ...
Select browser versions to compare. Categories. All. CSS ... CSS Repeating Gradients, Yes -webkit-, Yes ... Android 4.2-4.3 browser, Android 4.4 browser ...
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