callstack / callstack/masked-view
maskElement color being ignored when view being masked has reduced opacity
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
Hey I'm trying to overlay two different colors on the same text and thought that Masked View would provide that functionality since it is supposed to clip the view inside Masked View to the text that is the maskElement prop. It looks like when opacity is reduced on the masked View element, it doesn't show the color of the Text element that should be showing through since the opacity was reduced on the View.
Here is my code to demonstrate:
```
Basic Mask
}
>
```
Please let me know if there is something I am doing wrong or if this isn't something supported by masked view. If it isn't, is there any other way to do the functionality I'm looking for? For an example in html, you would do background-color, background-clip, and color with varying degrees of rgba values
Contributor guide
Assessment
This issue has not been assessed yet.