The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 09:30 UTC
fix(mobile): PR tab switches no longer leave Liquid Glass behind (#26041)
Co-authored-by: maria-rcks <maria@kuuro.net>
Cameron Chisholm committed
Oct 31, 2026 at 08:35 UTC
5d4677831329ee51b1e3ea2460f72bcbb3a4a470
1 file changed
+19
-13
apps/mobile/src/features/pull-requests/PullRequestRouteScreen.tsx
+19
-13
@@ -873,19 +873,25 @@ export function PullRequestRouteScreen({ route }: StaticScreenProps<PullRequestP
873
}}
874
>
875
<PullRequestIdentity pr={identity} params={params} />
876
- <SegmentedControl
877
- options={[
878
- { value: "overview", label: "Overview" },
879
- ...(guidesEnabled
880
- ? [{ value: "guide" as const, label: "Guide" }]
881
- : []),
882
- { value: "activity", label: "Activity" },
883
- ]}
884
- selected={section}
885
- onSelect={selectSection}
886
- role="tab"
887
- size="compact"
888
- />
876
+ {/* UIKit draws the tapped control's glass lens outside the hidden
877
+ tab's opacity, so only the visible tab mounts the control. */}
878
+ {Platform.OS !== "ios" || section === tab ? (
879
+ <SegmentedControl
880
+ options={[
881
+ { value: "overview", label: "Overview" },
882
+ ...(guidesEnabled
883
+ ? [{ value: "guide" as const, label: "Guide" }]
884
+ : []),
885
+ { value: "activity", label: "Activity" },
886
+ ]}
887
+ selected={section}
888
+ onSelect={selectSection}
889
+ role="tab"
890
+ size="compact"
891
+ />
892
+ ) : (
893
+ <View style={{ height: 32 }} />
894
+ )}
895
</View>
896
) : null}
897
</>