Skip to content

Keep panel resizing with its initiating pointer - #949

Merged
max-sixty merged 2 commits into
mainfrom
codex/fix-resize-focus
Sep 22, 2026
Merged

max-sixty merged 2 commits into
mainfrom
codex/fix-resize-focus

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

A resize handle could react to a right-button drag, take focus when a press began elsewhere, or let a second touch change the first touch’s grab offset. The shared edge now admits one primary-button pointer at a time and keeps its ID and offset together. Only that pointer can move or finish the resize; cancellation and pointer-capture loss release the same ownership. This applies to the thread panel and trays.

Browser regressions exercise both edges with right-button, outside-release, overlapping-touch, mouse, touch, cancelled-touch, keyboard, draft, and text-selection gestures. The full browser gate passed 122 tests, the everyday suite passed 1,281, and runtime and lint checks passed. After integrating current main, all 10 focused resize cases passed.

This was written by Codex on behalf of max-sixty

@max-sixty
max-sixty merged commit e3cd596 into main Sep 22, 2026
5 checks passed
@max-sixty
max-sixty deleted the codex/fix-resize-focus branch September 22, 2026 20:00
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.

2 participants