diff --git a/front/components/SongCardGrid.tsx b/front/components/SongCardGrid.tsx index 8050472..63fd328 100644 --- a/front/components/SongCardGrid.tsx +++ b/front/components/SongCardGrid.tsx @@ -15,7 +15,7 @@ const SongCardGrid = (props: SongCardGrid) => { {props.heading} = ({ Animated.parallel([ Animated.spring(scaleAnimator, { toValue: 1, - useNativeDriver: true, + useNativeDriver: false, }), Animated.timing(backgroundColorAnimator, { toValue: 1, @@ -131,7 +131,7 @@ const InteractiveBase: React.FC = ({ Animated.parallel([ Animated.spring(scaleAnimator, { toValue: 2, - useNativeDriver: true, + useNativeDriver: false, }), Animated.timing(backgroundColorAnimator, { toValue: 2, @@ -160,7 +160,7 @@ const InteractiveBase: React.FC = ({ Animated.parallel([ Animated.spring(scaleAnimator, { toValue: 1, - useNativeDriver: true, + useNativeDriver: false, }), Animated.timing(backgroundColorAnimator, { toValue: 1, @@ -193,7 +193,7 @@ const InteractiveBase: React.FC = ({ Animated.parallel([ Animated.spring(scaleAnimator, { toValue: 0, - useNativeDriver: true, + useNativeDriver: false, }), Animated.timing(backgroundColorAnimator, { toValue: 0, @@ -213,7 +213,7 @@ const InteractiveBase: React.FC = ({ Animated.timing(elevationAnimator, { toValue: 0, duration: 250, - useNativeDriver: true, + useNativeDriver: false, }), ]).start(); }; @@ -247,7 +247,6 @@ const InteractiveBase: React.FC = ({ onPressIn={handlePressIn} onPressOut={handlePressOut} onHoverOut={handleMouseLeave} - style={styles.container} > {children} @@ -255,11 +254,5 @@ const InteractiveBase: React.FC = ({ ); }; -const styles = StyleSheet.create({ - container: { - width: '100%', - height: '100%', - }, -}); export default InteractiveBase;