fix(dock): defer pointer-capture until drag threshold #80

Merged
zaelgohary merged 1 commit from fix/dock-pointer-capture-79 into development 2026-04-21 12:33:22 +00:00
Member

Closes #79

Capturing on every pointerdown retargeted the ensuing click to the scroll container, so .dock-btn children never received clicks. Arm capture only once pointermove exceeds ~3px; plain clicks bypass it.

Closes https://forge.ourworld.tf/lhumina_code/hero_os/issues/79 Capturing on every pointerdown retargeted the ensuing click to the scroll container, so .dock-btn children never received clicks. Arm capture only once pointermove exceeds ~3px; plain clicks bypass it.
fix(dock): defer pointer-capture until drag threshold (#79)
Some checks failed
Build and Test / build (pull_request) Failing after 4s
91ad4c84ee
Capturing on every pointerdown retargeted the ensuing click to the scroll
container, so .dock-btn children never received clicks. Arm capture only
once pointermove exceeds ~3px; plain clicks bypass it.
zaelgohary merged commit b6455ed721 into development 2026-04-21 12:33:22 +00:00
zaelgohary deleted branch fix/dock-pointer-capture-79 2026-04-21 12:33:22 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_os!80
No description provided.