Skip to content

Add touch, keyboard, and double-click support to resizable dividers#17

Merged
Huxpro merged 1 commit intomainfrom
Huxpro/worcester-v3
Mar 17, 2026
Merged

Add touch, keyboard, and double-click support to resizable dividers#17
Huxpro merged 1 commit intomainfrom
Huxpro/worcester-v3

Conversation

@Huxpro
Copy link
Copy Markdown
Member

@Huxpro Huxpro commented Mar 17, 2026

Summary

  • Replace mousedown/mousemove/mouseup with PointerEvents API for unified mouse/touch/pen support
  • Add double-click to reset dividers to default sizes
  • Add keyboard accessibility: arrow keys adjust size, Home/End collapse panels, Enter/Space reset
  • Extract resize finalization logic into shared commitSize callback
  • Applied to both SplitPane divider and ColumnResizer in props panel

…ders

- Replace mousedown/mousemove/mouseup with PointerEvents API (supports mouse/touch/pen)
- Add double-click to reset divider to default sizes
- Add keyboard support: arrow keys (±20px, +Shift for ±60px), Home/End to collapse panels, Enter/Space to reset
- Add accessibility attributes: role="separator", tabIndex, aria-orientation
- Apply to both SplitPane divider and ColumnResizer component
- Extract resize finalization logic into shared commitSize callback
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 17, 2026

Deploy Preview for lynx-go-web ready!

Name Link
🔨 Latest commit f0e01d9
🔍 Latest deploy log https://app.netlify.com/projects/lynx-go-web/deploys/69b8ab583087a20008a28de6
😎 Deploy Preview https://deploy-preview-17--lynx-go-web.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Huxpro Huxpro merged commit 99066c1 into main Mar 17, 2026
7 checks passed
@Dugyu Dugyu deleted the Huxpro/worcester-v3 branch April 16, 2026 06:34
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