Skip to content

fix(dashboard): enable mobile touch scrolling in log viewers#137

Merged
khaliqgant merged 2 commits into
mainfrom
feature/fix-mobile-log-scrolling
Jan 11, 2026
Merged

fix(dashboard): enable mobile touch scrolling in log viewers#137
khaliqgant merged 2 commits into
mainfrom
feature/fix-mobile-log-scrolling

Conversation

@khaliqgant

Copy link
Copy Markdown
Member

Summary

Enable native touch scrolling for log viewers on mobile devices while preserving desktop xterm.js scrolling behavior.

Changes

  • XTermLogViewer.tsx: Changed container from overflow-hidden to overflow-auto md:overflow-hidden with touch-pan-y class and -webkit-overflow-scrolling: touch style. This enables smooth momentum scrolling on mobile while desktop users still benefit from xterm.js internal scrolling.

  • LogViewer.tsx (inline mode): Added touch-pan-y class and -webkit-overflow-scrolling: touch to ensure consistent iOS/Android momentum scrolling.

Test Plan

  • Mobile: Scroll through logs with touch gesture (iOS Safari, Android Chrome)
  • Desktop: Verify xterm.js scrolling still works
  • No console errors
  • Both inline and panel log viewers work

Related

Closes #bd-mobile-log-scroll

Agent Relay and others added 2 commits January 11, 2026 15:21
- XTermLogViewer: Change overflow-hidden to overflow-auto on mobile,
  keeping overflow-hidden on md+ breakpoints where xterm.js handles
  internal scrolling
- LogViewer inline mode: Add touch-pan-y for consistent touch behavior
- Both components: Add WebkitOverflowScrolling: 'touch' for iOS
  momentum scrolling

Fixes mobile users being unable to scroll through logs due to
overflow-hidden blocking touch scroll gestures.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@khaliqgant khaliqgant merged commit 4fc9a97 into main Jan 11, 2026
6 checks passed
@khaliqgant khaliqgant deleted the feature/fix-mobile-log-scrolling branch January 11, 2026 17:28
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