@devries-cameron20 / t3code Mirror · read-only / commits / dae8d6f7e5
Fork 0

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 21, 13:30 UTC

fix(mobile): Android menus opened over the keyboard close when it hides (#30853)

Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com>

Onkar Pradip Jadhav committed Nov 15, 2026 at 06:29 UTC dae8d6f7e5a8beed15438c41953d6592909505be
1 file changed +4
apps/mobile/src/components/ui/AndroidAnchoredMenu.android.tsx
+4
@@ -61,6 +61,10 @@ export function AndroidAnchoredMenu(props: AndroidAnchoredMenuProps) {
61 setPath([]);
62 setOverlay(null);
63 };
64 + // The in-window menu is pinned to the trigger's spot above the keyboard, which is stale once it hides.
65 + if (anchor?.keyboardWasVisible === true && !keyboardVisible) {
66 + close();
67 + }
68
69 const open = () => {
70 anchorNode?.measureInWindow((x, y, width, height) => {