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, 05:45 UTC
fix(mobile): Android follow-up menu shows in full with the keyboard open (#29263)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Julius Marminge committed
Nov 3, 2026 at 11:59 UTC
c756ebaabc0c67dee347a205ab7907a3d1f29622
1 file changed
+3
-4
apps/mobile/src/components/ui/AndroidAnchoredMenu.tsx
+3
-4
@@ -4,7 +4,6 @@ import { use, useRef, useState } from "react";
4
import type { StyleProp, ViewInstance, ViewStyle } from "react-native";
5
import { Pressable, ScrollView, View } from "react-native";
6
import { useKeyboardState } from "react-native-keyboard-controller";
7
-import Animated, { FadeIn } from "react-native-reanimated";
7
8
import { useHardwareBack } from "../../lib/backHandler";
9
import { deriveMenuHorizontalPlacement } from "../../lib/menu-placement";
@@ -181,8 +180,8 @@ export function AndroidAnchoredMenu(props: AndroidAnchoredMenuProps) {
180
onClose={close}
181
/>
182
) : (
184
- <Animated.View
185
- entering={FadeIn.duration(120)}
183
+ <View
184
+ // No entering animation: it freezes this frame before the Compose host reports its size.
185
className="absolute overflow-hidden bg-card-alt shadow-md"
186
style={{
187
left,
@@ -215,7 +214,7 @@ export function AndroidAnchoredMenu(props: AndroidAnchoredMenuProps) {
214
onClose={close}
215
/>
216
</ScrollView>
218
- </Animated.View>
217
+ </View>
218
)}
219
</View>
220
</OverlayPortal>