Skip to content

Release v0.6.10

Choose a tag to compare

@github-actions github-actions released this 20 Jan 00:59

Release v0.6.10 - Remove pointer-events: none blocking touch

CRITICAL FIX: pointer-events: none on .xterm-viewport was blocking ALL touch events!

Problem in v0.6.9:

  • pointer-events: none prevented touch events from reaching viewport element
  • Our touch handlers never fired because events were blocked at CSS level
  • All the capture/stopPropagation logic was correct but events never arrived

Solution in v0.6.10:

  • Removed pointer-events: none from .xterm-viewport
  • Changed to direct viewport.scrollTop manipulation (simpler, more reliable)
  • Direct 1:1 mapping: finger movement = scroll position
  • No more term.scrollLines() API calls or complex accumulator logic
  • Added debug console logging to verify touch events fire

Technical changes:

  • handleTouchMove: viewport.scrollTop = initialScrollTop + totalDiff
  • Momentum uses requestAnimationFrame instead of setTimeout
  • Much simpler and more direct approach

Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com