Skip to content

Commit 0c2d951

Browse files
authored
fix: disable native driver in Card elevation animation (#3512)
1 parent d36bfad commit 0c2d951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Card/Card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ const Card = ({
192192
Animated.timing(elevation, {
193193
toValue: isPressTypeIn ? (isV3 ? 2 : 8) : cardElevation,
194194
duration: animationDuration,
195-
useNativeDriver: true,
195+
useNativeDriver: false,
196196
}).start();
197197
}
198198
};

0 commit comments

Comments
 (0)