danilowoz / danilowoz/react-content-loader

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

Open
#315 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
14k
Forks
421
PR merge metrics
No merged PRs in 30d

Description

## 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](https://github.com/software-mansion/react-native-svg/issues/1695)

### 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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.