When one border of View is transparent, all borders are not displayed

This issue has been tracked since 2022-09-19.

Description

When one border of View is transparent, all borders are not displayed

Only Android

Version

0.70.1

Output of npx react-native info

info Fetching system and libraries information...
System:
OS: Windows 10 10.0.19044
CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Memory: 6.34 GB / 15.96 GB
Binaries:
Node: 16.13.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.1.2 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-212.5712.43.2112.8609683
Visual Studio: Not Found
Languages:
Java: 11.0.15 - C:\Program Files\Eclipse Adoptium\jdk-11.0.15.10-hotspot\bin\javac.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.1 => 0.70.1
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

Starting RN

Snack, code example, screenshot, or link to a repository

Code

  <View
        style={{
          width: 100,
          height: 100,
          borderWidth: 10,
          borderRadius: 100,
          borderColor: '#FF0000',
          borderBottomColor: 'transparent',
          justifyContent: 'center',
          alignItems: 'center',
        }}>
        <Text>1</Text>
      </View>
      <View
        style={{
          width: 100,
          height: 100,
          borderWidth: 10,
          borderRadius: 100,
          borderColor: '#FF0000',
          justifyContent: 'center',
          alignItems: 'center',
        }}>
        <Text>2</Text>
      </View>

screenshot

Snipaste_2022-09-19_17-10-28

danilobuerger wrote this answer on 2022-09-19

Does this also happen without a border radius?

zhxlp wrote this answer on 2022-09-19
More Details About Repo
Owner Name facebook
Repo Name react-native
Full Name facebook/react-native
Language JavaScript
Created Date 2015-01-09
Updated Date 2022-10-03
Star Count 105144
Watcher Count 3666
Fork Count 22469
Issue Count 2232

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date