Skip to content

Conversation

@basnijholt
Copy link
Owner

Summary

  • Add native scroll momentum with -webkit-overflow-scrolling: touch on .xterm-viewport
  • Add overscroll-behavior: contain to prevent pull-to-refresh interference
  • Add mobile-specific constraints (max-height 50vh) and touch-action: pan-y
  • Detect touch devices and enable xterm.js smoothScrollDuration for smoother scrolling
  • Increase scrollSensitivity for more responsive touch input

Test plan

  • Unit tests pass
  • Test on mobile device (iOS/Android) by scrolling terminal output
  • Verify native scroll momentum works in terminal
  • Verify page scroll is not blocked when terminal is at scroll boundary

- Add native scroll momentum with -webkit-overflow-scrolling: touch
- Add overscroll-behavior: contain to prevent pull-to-refresh interference
- Add mobile-specific max-height (50vh) and touch-action: pan-y
- Detect touch devices and enable xterm.js smoothScrollDuration
- Increase scrollSensitivity for more responsive touch scrolling
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