danilowoz / react-content-loader

⚪ SVG-Powered component to easily create skeleton loadings.
https://skeletonreact.com
MIT License
13.66k stars 417 forks source link

Invariant Violation: Unable to locate attached view in the native tree #315

Open jspizziri opened 7 months ago

jspizziri commented 7 months ago

What did you do?

Used a modern version of react-native-svg@^12.5.0.

What did you expect to happen?

The content loader works as expected.

What happened actually?

I get a react-native error: Invariant Violation: Unable to locate attached view in the native tree

This issue seems to be related to how LinearGradient is currently animated and is likely related to this issue

Which versions of react-content-loader, and which browser are affected by this issue?

I'm using react-native and react-content-loader@v6.2.1

duongnguyen17 commented 1 month ago

same issue