SkeletonView: LinearGradient warning due to mismatched colors and locations arrays #3484
Open
3 of 7 tasks
Labels
bug
a bug in one of the components
Description
When using the
SkeletonView
component, there's a persistent warning from the underlyingreact-native-shimmer-placeholder
package about mismatched array lengths between colors and locations in the LinearGradient. This warning appears in the native bridge layer and cannot be suppressed using standard React Native LogBox methods.Related to
Steps to reproduce
Expected behavior
The SkeletonView should either:
locations
prop to match custom color arraysActual behavior
Persistent warnings appear in the console because the internal implementation of
react-native-shimmer-placeholder
uses a fixed locations array[0.3, 0.5, 0.7]
(length: 3) but doesn't enforce or expose control over matching the colors array length.More Info
Code snippet
Screenshots/Video
Environment
Affected platforms
The text was updated successfully, but these errors were encountered: