View #337 of type TCtView has a shadow set but cannot calculate shadow efficiently.
See original GitHub issueThis happens when using an alpha color with no rgb
. For example, I am using rgba(0,0,0,.40)
.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:23 (12 by maintainers)
Top Results From Across the Web
view has a shadow set but cannot calculate shadow efficiently
I'm getting this error message: >View #54 of type RCTView has a shadow set but cannot calculate shadow efficiently.
Read more >Developers - RCTView has a shadow set but cannot calculate ...
RCTView has a shadow set but cannot calculate shadow efficiently.
Read more >Harris - DigiFind-It
MERITS SUPPORT. For the first time in many years, Rahway next Tues- day will have the: opportunity of voting for a native son....
Read more >Shadow armor - Terraria Wiki - Fandom
Shadow armor is an armor set that consists of the Shadow Helmet, Shadow Scalemail, and Shadow Greaves. The individual pieces provide a total...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I still get this error: View #50 of type RCTView has a shadow set but cannot calculate shadow efficiently. Consider setting a background color to fix this, or apply the shadow to a more specific component.
I am using ActionButton like this:
<View > <ActionButton active={true} buttonColor="rgba(251,184,41, 1)" /> </View>
in my case it solved by putting: shadowOpacity: 0.9
The look is almost same but removes the warning.