question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

View #337 of type TCtView has a shadow set but cannot calculate shadow efficiently.

See original GitHub issue

This happens when using an alpha color with no rgb. For example, I am using rgba(0,0,0,.40).

screen shot 2016-07-03 at 5 56 02 pm

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:23 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
perrosnkcommented, Sep 16, 2016

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>

1reaction
himelnagranacommented, Nov 9, 2017

in my case it solved by putting: shadowOpacity: 0.9

The look is almost same but removes the warning.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found