hoanglam10499 / react-native-drop-shadow

https://www.npmjs.com/package/react-native-drop-shadow
MIT License
218 stars 9 forks source link

WARN (ADVICE) View #395 of type RCTView has a shadow set but cannot calculate shadow efficiently. #20

Closed santhosh-umapathi-appymango closed 1 year ago

santhosh-umapathi-appymango commented 1 year ago

Hi, Thanks a lot for this fantastic package. I hit with a warning in my React Native App, when I don't set a background color to the drop shadow component style, I get this warning. I wanted to create a reusable component and pass children inside, the background of that component can be dynamic.

background:"transparent" does not work as well.

WARN (ADVICE) View #395 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.

nriccar commented 1 year ago

bump

EslamDarwish commented 1 year ago

Check this comment, it solves the problem for me https://github.com/hoanglam10499/react-native-drop-shadow/issues/22#issuecomment-1656544268

hoanglam10499 commented 1 year ago

hi try version 0.0.8