fix(mobil-nav): stabil tillbaka-knapp (slutar blinka/hoppa)

Chevron utan textetikett (headerBackButtonDisplayMode: minimal) sa
'tillbaka'-labeln inte mats om och blinkar 2-3 ggr under push.
This commit is contained in:
Claude
2026-08-19 23:33:32 +00:00
parent 0cc8f036d6
commit 3f0f6953bb
+4 -2
View File
@@ -59,9 +59,11 @@ export default function RootLayout() {
headerStyle: { backgroundColor: colors.background }, headerStyle: { backgroundColor: colors.background },
headerTintColor: colors.text, headerTintColor: colors.text,
headerShadowVisible: false, headerShadowVisible: false,
headerBackTitle: t("common.back"), // Chevron utan textetikett tar bort "tillbaka"-labeln som annars
// blinkar/hoppar när den mäts om under push-övergången.
headerBackButtonDisplayMode: "minimal",
contentStyle: { backgroundColor: colors.background }, contentStyle: { backgroundColor: colors.background },
fullScreenGestureEnabled: true, fullScreenGestureEnabled: true,
}} }}
> >
<Stack.Screen name="(tabs)" options={{ headerShown: false }} /> <Stack.Screen name="(tabs)" options={{ headerShown: false }} />