Area
apps/mobile
Steps to reproduce
- Open a running terminal in the native Android T3 Code app.
- Tap the terminal to open the software keyboard.
- Repeat hiding and opening the keyboard, including while a full-screen agent CLI is running.
Expected behavior
The terminal and keyboard accessory move with the keyboard, keeping the current input visible without an abrupt upward jump.
Actual behavior
The terminal suddenly jumps upward as the keyboard opens. This is user-observed on native Android. I could not verify the animation on a device because device access is disabled in the current agent environment.
Impact
Major degradation during terminal input on a phone.
Version and investigation
The installed mobile version is unknown. Source inspection used main at c2fa9fc.
ThreadTerminalRouteScreen.tsx computes terminalBottomInset from useKeyboardState and immediately applies it as paddingBottom to the terminal container. In the pinned keyboard-controller source, that hook updates on keyboardWillShow and keyboardDidHide, whereas KeyboardStickyView follows animated keyboard height. Applying the final inset before the keyboard animation is an investigation lead, not a confirmed root cause. I have not patched it without native animation evidence.
Please check opening, closing, interactive dismissal, orientation changes and a second desktop view attached to the same PTY. This report concerns the native Android terminal, not the mobile web scrolling bug #2141. Android terminal input lag is already tracked in #12756 and software Backspace in #8253.
Workaround
No reliable workaround found.
Area
apps/mobile
Steps to reproduce
Expected behavior
The terminal and keyboard accessory move with the keyboard, keeping the current input visible without an abrupt upward jump.
Actual behavior
The terminal suddenly jumps upward as the keyboard opens. This is user-observed on native Android. I could not verify the animation on a device because device access is disabled in the current agent environment.
Impact
Major degradation during terminal input on a phone.
Version and investigation
The installed mobile version is unknown. Source inspection used main at c2fa9fc.
ThreadTerminalRouteScreen.tsxcomputesterminalBottomInsetfromuseKeyboardStateand immediately applies it aspaddingBottomto the terminal container. In the pinned keyboard-controller source, that hook updates onkeyboardWillShowandkeyboardDidHide, whereasKeyboardStickyViewfollows animated keyboard height. Applying the final inset before the keyboard animation is an investigation lead, not a confirmed root cause. I have not patched it without native animation evidence.Please check opening, closing, interactive dismissal, orientation changes and a second desktop view attached to the same PTY. This report concerns the native Android terminal, not the mobile web scrolling bug #2141. Android terminal input lag is already tracked in #12756 and software Backspace in #8253.
Workaround
No reliable workaround found.