Skip to content

Fix mobile keyboard and grid flicker#196

Merged
almogdepaz merged 1 commit into
mainfrom
fix/mobile-keyboard-grid-polish
Jul 22, 2026
Merged

Fix mobile keyboard and grid flicker#196
almogdepaz merged 1 commit into
mainfrom
fix/mobile-keyboard-grid-polish

Conversation

@almogdepaz

Copy link
Copy Markdown
Owner

Summary

  • keep mobile keyboard viewport shifts off #terminal-view so keyboard positioning does not fight mobile view/swipe transforms
  • hide fallback terminal controls during mobile card-swipe peek before Ghostty mounts
  • send backspaces plus replacement text for mobile autocomplete correction commits
  • wait one extra frame after grid relayout repaint before revealing existing grid canvases

Verification

  • bun run typecheck
  • bun test tests/unit/desktop-terminal-logic.test.ts tests/unit/kb-accessory-layout.test.ts
  • bunx playwright test tests/e2e/session-switch.e2e.ts --project=iphone-14 --grep "keyboard viewport shift|mobile card swipe peek|mobile touch scrolling"
  • bunx playwright test tests/e2e/grid.e2e.ts --project=desktop --grep "addToGrid|grid topology add|forceRepaint"
  • GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=commit.gpgsign GIT_CONFIG_VALUE_0=false bun test
  • bunx playwright test

@almogdepaz
almogdepaz force-pushed the fix/mobile-keyboard-grid-polish branch 8 times, most recently from 366b806 to 4fbcffb Compare July 22, 2026 08:04
@almogdepaz
almogdepaz force-pushed the fix/mobile-keyboard-grid-polish branch from 4fbcffb to 88f603d Compare July 22, 2026 09:13
@almogdepaz
almogdepaz marked this pull request as draft July 22, 2026 09:31
@almogdepaz
almogdepaz marked this pull request as ready for review July 22, 2026 12:12
@almogdepaz
almogdepaz merged commit 5234add into main Jul 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant