react / react/react-native

[android] Border with alpha color and radius blends differently on Android

Open
#43,298 2 comments 0 reactions 1 assignee View on GitHub

@jorge-cab is already working on this.

Since Nov 25, 2024.

Issue: Author Provided Repro Newer Patch Available Platform: Android
Dominant language
C++
Stars
127k
Forks
25.3k
Avg merge
1d 23h
Merged PRs (30d)
4

Description

Description

A view with border radius and alpha color does not blend well compared to one without

I tried looking for a similar issue but it doesn't appear to have been reported yet

Steps to reproduce

https://snack.expo.dev/@hcmlroldan/alpha-border-color

React Native Version

0.73.0

Affected Platforms

Runtime - Android

Output of npx react-native info
I believe this is not needed.. I used a Snack and Expo Go. But this is reproducible on 0.72.x as well
Stacktrace or Logs
Not a crash
Reproducer

https://snack.expo.dev/@hcmlroldan/alpha-border-color

Screenshots and Videos

iOS

image

Android

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.