Skip to content

Commit

Permalink
Merge pull request #79 from sreuter/patch-1
Browse files Browse the repository at this point in the history
Set useNativeDriver=false on web to fix looping
  • Loading branch information
tomzaku authored Aug 9, 2022
2 parents c277840 + 0085ada commit acad345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ShimmerPlaceholder.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ShimmerPlaceholder extends PureComponent {
toValue: 1,
delay,
duration,
useNativeDriver: true,
useNativeDriver: Platform.OS !== "web",
isInteraction,
})
);
Expand Down

0 comments on commit acad345

Please sign in to comment.