Replace mouse events with pointer events for mobile touch support #20

Closed
opened 2026-02-25 16:05:16 +01:00 by libretech · 0 comments
Owner

Summary

Replace all mouse-specific event handlers with pointer events for unified mouse/touch/pen support.

Implementation Tasks

  • Audit codebase for mouse event listeners
  • Replace mousedown/mousemove/mouseup with pointer equivalents
  • Add touch-action CSS properties where needed
  • Handle pointer capture for drag interactions
  • Test on touch devices

Affected Areas

  • Sidebar resize handle
  • Editor scrolling
  • Note list interactions
  • Any drag-and-drop functionality

Acceptance Criteria

  • All interactive elements work with touch, mouse, and pen input
  • No ghost clicks or double-fire issues on touch devices
  • Drag interactions work correctly with pointer capture
## Summary Replace all mouse-specific event handlers with pointer events for unified mouse/touch/pen support. ## Implementation Tasks - [x] Audit codebase for mouse event listeners - [x] Replace mousedown/mousemove/mouseup with pointer equivalents - [x] Add touch-action CSS properties where needed - [x] Handle pointer capture for drag interactions - [ ] Test on touch devices ## Affected Areas - Sidebar resize handle - Editor scrolling - Note list interactions - Any drag-and-drop functionality ## Acceptance Criteria - [x] All interactive elements work with touch, mouse, and pen input - [x] No ghost clicks or double-fire issues on touch devices - [x] Drag interactions work correctly with pointer capture
libretech added the phase-3 label 2026-02-25 16:05:16 +01:00
libretech changed title from Touch event support to Add touch event handling for mobile interactions 2026-02-28 20:24:39 +01:00
libretech added the task label 2026-02-28 20:24:43 +01:00
libretech changed title from Add touch event handling for mobile interactions to Replace mouse events with pointer events for mobile touch support 2026-02-28 21:16:36 +01:00
libretech added the frontend label 2026-03-01 20:32:42 +01:00
Sign in to join this conversation.