Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

221
Views
Transparent background overlapping

I have a simple view like this:

  <View style={{backgroundColor:'rgba(82, 82, 82, 0.8)',position:'absolute',left:0,width:100,height:100}}></View>
  <View style={{backgroundColor:'rgba(82, 82, 82, 0.8)',position:'absolute',left:50,width:100,height:100}}></View>

but the overlap produces a color of it's own like this:

enter image description here

how do I make them both be only transparent towards the background and not overlap the transparency ?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You either don't have transparency, or you don't overlap the views. Overlapping transparent views will always show whatever was behind the front views.

There is no magic way to tell a view in front to use its transparency and ignore any transparency behind. This is because the views are drawn back to front. So by the time the front view renders its transparency, then everything behind it is already drawn and finalized.

This is like overlapping a yellow plastic film and a green plastic film, and asking how can light can only go through the green one. That's just... not how it works.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!