Skip to content

fix: resize a movable column by dragging its edge - #28

Merged
SyedSibtainRazvi merged 1 commit into
mainfrom
fix/resize-starts-column-drag
Nov 27, 2026
Merged

SyedSibtainRazvi merged 1 commit into
mainfrom
fix/resize-starts-column-drag

Conversation

@SyedSibtainRazvi

Copy link
Copy Markdown
Contributor

Etiquettes of raising a PR

PR reviews are a way to request peers to give feedback on the code that is going
to the mainline. This means, that PR should be in a reviewable state. Please ensure
that the following checkboxes are ticked. If any of them are not ticked, then
the PR is not ready for review

  • Did you test changes locally?
  • Did you check PR contents after opening the PR

Related issue

Functionalities added or changed

  • Resizing a column that can be moved works again. In Chrome and Safari, dragging its edge stopped resizing after the first step: a 60 px drag widened it by 10 px.
  • The fix: a column's move grip starts no drag while a column is being resized.

Additional info

  • Cause: widening a column slides its move grip under the point where the resize began. Chrome and Safari pick a drag's source by testing that point again when the drag starts, so they started dragging the grip. They then stopped sending the mouse moves the resize needs. Firefox wasn't affected.
  • Why CI missed it: the playground's resize test resizes Title, which is fixed and has no grip.
  • Tests:
    • A new e2e test resizes Status, which can move. Without the fix it fails in Chromium and WebKit (160 instead of 210).
    • A unit test checks the drag is cancelled. It fails without the fix.
    • All 47 e2e tests pass in Chromium, and the resize and reordering tests also pass in Playwright's Firefox and WebKit.
    • Lint, unit tests, build, typecheck, publint, format, sync and knip pass.
  • Smoke test: in a fresh Next 16 app with the packed package, resizing by drag, reordering by drag and from the menu, fixed columns and the announcement all work, and the console is clean.

Checklist

  • Tests
  • Translations
  • Documentation
  • Uploaded screenshots
  • Verified on preview url once

Screenshots

Page(s) if applicable

No visual change.

Widening a column slid its move grip under the point where the resize
began. Chrome and Safari then started dragging the grip, which stopped
the resize after its first step. The grip now starts no drag while a
column is being resized.
@SyedSibtainRazvi SyedSibtainRazvi self-assigned this Nov 27, 2026
@SyedSibtainRazvi
SyedSibtainRazvi merged commit 2ebc85d into main Nov 27, 2026
1 check passed
@SyedSibtainRazvi
SyedSibtainRazvi deleted the fix/resize-starts-column-drag branch November 27, 2026 06:50
@SyedSibtainRazvi SyedSibtainRazvi mentioned this pull request Nov 27, 2026
4 of 7 tasks
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