From e8ab5a09c990e25c7f9e165995734dac812fbd5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Such=C3=BD?= Date: Mon, 6 Jan 2025 13:42:28 +0100 Subject: [PATCH] fix(mobile): reanimated layout animation in modal crash (#16169) --- suite-native/atoms/src/Sheet/BottomSheet.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/suite-native/atoms/src/Sheet/BottomSheet.tsx b/suite-native/atoms/src/Sheet/BottomSheet.tsx index 96fb741ad73..4277dd1d4d1 100644 --- a/suite-native/atoms/src/Sheet/BottomSheet.tsx +++ b/suite-native/atoms/src/Sheet/BottomSheet.tsx @@ -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'; @@ -103,7 +103,6 @@ export const BottomSheet = ({ insetBottom, }), ]} - layout={LinearTransition} >