From e17021fda8d934998f84559fc20cf7fcd330fc5b Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Fri, 24 Oct 2025 12:11:00 +0200 Subject: [PATCH 1/4] Initial reproduction --- apps/src/tests/TestLayout.tsx | 106 ++++++++++++++++++++++++++++++++++ apps/src/tests/index.ts | 1 + 2 files changed, 107 insertions(+) create mode 100644 apps/src/tests/TestLayout.tsx diff --git a/apps/src/tests/TestLayout.tsx b/apps/src/tests/TestLayout.tsx new file mode 100644 index 0000000000..e4e1855132 --- /dev/null +++ b/apps/src/tests/TestLayout.tsx @@ -0,0 +1,106 @@ +import { NavigationContainer } from "@react-navigation/native"; +import { createNativeStackNavigator } from "@react-navigation/native-stack"; +import React from "react"; +import { Button, Pressable, Text, View } from "react-native"; +import { useSafeAreaInsets } from "react-native-safe-area-context"; + +const Stack = createNativeStackNavigator(); + +function Navigation() { + return ( + + + + ) +} + +function StackComponent() { + return ( + + + + + ) +} + +function Home({ navigation }) { + const showModalAction = React.useCallback(() => { + navigation.navigate('GreenModal'); + }, [navigation]); + + + return ( + + Hello world +