Skip to content

Commit cca362d

Browse files
committed
fix: avoid cloning animated values
causes weird behavour in expo 53
1 parent 8e2253d commit cca362d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/ActivePointComponentWrapper.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,7 @@ const ActivePointComponentWrapper = ({
100100
);
101101

102102
return (
103-
<AnimatedView
104-
style={{
105-
...viewAnimatedStyle,
106-
}}
107-
>
103+
<AnimatedView style={viewAnimatedStyle}>
108104
<View
109105
onLayout={event => {
110106
const {width: componentWidth} = event.nativeEvent.layout;

0 commit comments

Comments
 (0)