Skip to content

[4/4] feat: enlarge touch targets without changing how the editor looks - #324

Merged
dazzatronus merged 1 commit into
feat/touch-timeline-inputfrom
feat/touch-hit-areas
Dec 2, 2026
Merged

dazzatronus merged 1 commit into
feat/touch-timeline-inputfrom
feat/touch-hit-areas

Conversation

@dazzatronus

@dazzatronus dazzatronus commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Trim handles are 12 px wide and the clip menu trigger is 16 px, under the 44 px touch needs. Under pointer: coarse they get invisible 44 px hit areas. Unselected clips expose none, so scrolling still works. A device whose primary pointer is a mouse is unchanged, touchscreen or not.

Handle hover styles apply only under (hover: hover): Chrome's touch adjustment pulls nearby touches onto elements with hover styles, so a drag starting up to 12 px past the handle trimmed instead of moving.

Known limit: a selected clip 91–123 px wide keeps only 11–24 px of draggable body.

Verify: on a Pixel 8 emulator (Chrome) and an iPhone 18 Pro simulator (Safari), a selected clip drags from 48 px in, and 44 px in or the handle's centre trims; Chrome previously trimmed from up to 56 px in. A target-size audit drops 10 of its 11 failures; it still reports the trigger's 16 px box because the 44 px area is a ::before. Desktop screenshots at 1280 and 500 px and the handle's hover tint are unchanged.

# PR Adds Why it is separate
1/4 #316 Dragged clips and trim edges stay under the pointer Bug fix for mouse and touch
2/4 #317 Dragging a clip's start trims the source Changes what the start handle does
3/4 #323 Touch scrolls the timeline; only the selected clip takes drags New touch input model
4/4 #324 (this PR) 44 px touch targets for handles and the clip menu Hit areas only, no visual change

Merge bottom-up. Retarget each PR to main after its predecessor lands.

@dazzatronus
dazzatronus merged commit 29f30f6 into main Dec 2, 2026
1 check passed
@dazzatronus
dazzatronus deleted the feat/touch-hit-areas branch December 2, 2026 01:00
github-actions Bot pushed a commit that referenced this pull request Dec 2, 2026
# [2.34.0](v2.33.3...v2.34.0) (2026-12-02)

### Bug Fixes

* generate ids where crypto.randomUUID is unavailable ([#319](#319)) ([bc3af37](bc3af37))
* keep dragged clips and trim edges under the pointer ([#316](#316)) ([b56587d](b56587d))
* keep the playback time clear of the zoom controls ([#321](#321)) ([9867adc](9867adc))
* load edits that send to YouTube ([#326](#326)) ([78a2a1d](78a2a1d))
* report the published version from VERSION ([#320](#320)) ([2aed44a](2aed44a))
* stop iOS zooming the page when a text field takes focus ([#318](#318)) ([4b8a4d0](4b8a4d0))
* trim the source when dragging a clip's start ([#317](#317)) ([f6c471c](f6c471c))

### Features

* enlarge touch targets without changing how the editor looks ([#324](#324)) ([29f30f6](29f30f6))
* scroll the timeline by touch and move only the selected clip ([#323](#323)) ([5578aaa](5578aaa))
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.34.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant