Skip to content

fix: keep operation snapshots transform current#2108

Open
wanxiankai wants to merge 1 commit into
clauderic:mainfrom
wanxiankai:fix/snapshot-transform-events
Open

fix: keep operation snapshots transform current#2108
wanxiankai wants to merge 1 commit into
clauderic:mainfrom
wanxiankai:fix/snapshot-transform-events

Conversation

@wanxiankai

Copy link
Copy Markdown

Fixes #2055.

Summary

  • Compute the current drag transform before returning public operation snapshots.
  • Reuse an internal snapshot helper while modifiers are applied so modifier snapshots do not recursively recompute transform.
  • Add a regression test that checks event snapshots include the latest transformed coordinates without reading dragOperation.transform first.

Testing

  • npx -y bun@1.3.11 run build
  • npx -y bun@1.3.11 test packages/abstract/tests

@changeset-bot

changeset-bot Bot commented Jul 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5f3ce21

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

event.operation.transform never gets updated when feedback is "none"

1 participant