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:
@@ -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 }} />
|
||||||
|
|||||||
Reference in New Issue
Block a user