RCTView has a shadow set but cannot calculate shadow efficiently

See original GitHub issue

Hi, running action button on ios gives that error. Didn’t happen on 2.0.14… Anyone have an idea?

"react-native-action-button": "2.0.15",
"react": "^15.3.2",
"react-native": "0.37.0",

simulator screen shot 24 nov 2016 11 43 27

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:9
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
himelnagranacommented, Nov 9, 2017

in my case it solved by putting: shadowOpacity: 0.9

The look is almost same but removes the warning.

1reaction
kukukukikicommented, Feb 25, 2019

This warning told us “Consider setting a background color to fix this”. i did and it worked for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

View has a shadow set but cannot calculate shadow efficiently.
In our app we are applying a shadow to an Image component. Unfortunately that generates the following warning: View ... of type RCTImageView ......
Read more >
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 >
of type RCTView has a shadow set but cannot calculate ... - 简书
of type RCTView has a shadow set but cannot calculate shadow efficiently. Consider setting a background color to fix this, or apply the...
Read more >
App Crash IOS plss help (Fixed) - iOS - React Native WebRTC
... RCTView has a shadow set but cannot calculate shadow efficiently. Consider setting a background color to fix this, or apply the shadow ......
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