Skip to content

fix(mobile): preserve scrollback on session switch#176

Closed
almogdepaz wants to merge 1 commit into
mainfrom
fix/163-mobile-session-scroll
Closed

fix(mobile): preserve scrollback on session switch#176
almogdepaz wants to merge 1 commit into
mainfrom
fix/163-mobile-session-scroll

Conversation

@almogdepaz

Copy link
Copy Markdown
Owner

summary

  • request full broker prefill when switching terminal sessions
  • preserve initial mobile fast/full preference behavior
  • verify touch scrolling works immediately without opening the keyboard

root cause

Mobile fast mode used viewport-only prefill after every session switch. That discarded broker history, so touch scrolling had nowhere to go. Opening the keyboard shrank the viewport and created local scrollback, masking the issue.

verification

  • bunx playwright test tests/e2e/session-switch.e2e.ts --project=iphone-se --project=iphone-14 --project=desktop (20 passed, 31 project-gated skips)
  • bun run typecheck
  • bun test (1,642 passed)

Closes #163

almogdepaz added a commit that referenced this pull request Jul 14, 2026
# Conflicts:
#	src/public-assets.ts
@almogdepaz

Copy link
Copy Markdown
Owner Author

Superseded by #179, which contains this PR’s commit plus the consolidated dev07 hardening and terminal-recovery work. Closing so review stays centralized.

@almogdepaz almogdepaz closed this Jul 15, 2026
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.

Mobile terminal sometimes becomes unscrollable after switching sessions

1 participant