From 5df2a90266255b35df6b1e6d135b84bcc2e206a9 Mon Sep 17 00:00:00 2001 From: Joshua Higgins Date: Mon, 16 Nov 2026 22:19:51 -0500 Subject: [PATCH] fix(mobile): keep the Android tab ripple static The Android tab ripple followed the artwork tint, so every palette swap sent a new ripple color. react-native-screens then rebuilt Material's item backgrounds and cut off the ripple from the tap that triggered the swap. Use a fixed ripple color so the existing ripple guard skips the reset. Co-Authored-By: Claude Opus 5.5 --- apps/mobile/app/(app)/(tabs)/_layout.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/mobile/app/(app)/(tabs)/_layout.tsx b/apps/mobile/app/(app)/(tabs)/_layout.tsx index 3465dd5..011f791 100644 --- a/apps/mobile/app/(app)/(tabs)/_layout.tsx +++ b/apps/mobile/app/(app)/(tabs)/_layout.tsx @@ -127,7 +127,9 @@ function TabsContent() { tintColor={tabColors.tintColor} minimizeBehavior="onScrollDown" {...(Platform.OS === "android" - ? { disableIndicator: true, rippleColor: tabColors.tintColor } + ? // A new ripple color rebuilds Material's item backgrounds and + // cuts off the in-flight ripple, so it must not follow the palette. + { disableIndicator: true, rippleColor: appleMusic.tabInactive } : {})} > {Platform.OS === "ios" && !tabletLayout && showBottomAccessory ? (