Skip to content

Commit

Permalink
fix(mobile): reanimated layout animation in modal crash (#16169)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nodonisko authored Jan 6, 2025
1 parent 31c287b commit e8ab5a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions suite-native/atoms/src/Sheet/BottomSheet.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useRef, useState, ReactNode } from 'react';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
import Animated, { LinearTransition } from 'react-native-reanimated';
import Animated from 'react-native-reanimated';
import { ScrollView, PanGestureHandler } from 'react-native-gesture-handler';
import { GestureResponderEvent, Pressable } from 'react-native';

Expand Down Expand Up @@ -103,7 +103,6 @@ export const BottomSheet = ({
insetBottom,
}),
]}
layout={LinearTransition}
>
<BottomSheetHeader
title={title}
Expand Down

0 comments on commit e8ab5a0

Please sign in to comment.