From 67ffb85e8d5501034632bf4669a2a493daa83da7 Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Tue, 10 Dec 2024 09:28:40 +0100 Subject: [PATCH 1/2] Add reproduction --- apps/src/tests/TestAnimation.tsx | 104 +++++++++++++++++++++++++++++++ apps/src/tests/index.ts | 1 + 2 files changed, 105 insertions(+) create mode 100644 apps/src/tests/TestAnimation.tsx diff --git a/apps/src/tests/TestAnimation.tsx b/apps/src/tests/TestAnimation.tsx new file mode 100644 index 000000000..e4058c5df --- /dev/null +++ b/apps/src/tests/TestAnimation.tsx @@ -0,0 +1,104 @@ +import { NavigationContainer, RouteProp } from '@react-navigation/native'; +import { NativeStackNavigationProp, createNativeStackNavigator } from '@react-navigation/native-stack'; +import React from 'react'; +import { View } from 'react-native'; +import { Button, Square } from '../shared'; + +type ParamList = { + Home: undefined; + Second: undefined; + Third: undefined; + Fourth: undefined; + Fifth: undefined; +} + +type RoutePropBase = { + navigation: NativeStackNavigationProp, + route: RouteProp; +} + +const Stack = createNativeStackNavigator(); + +function Contents(): React.ReactNode { + return ( + + + + ); +} + +function Home({ navigation }: RoutePropBase<'Home'>): React.ReactNode { + return ( + + +