Skip to content

Comments

[pull] main from motiondivision:main#187

Merged
pull[bot] merged 18 commits intocode:mainfrom
motiondivision:main
Jan 6, 2026
Merged

[pull] main from motiondivision:main#187
pull[bot] merged 18 commits intocode:mainfrom
motiondivision:main

Conversation

@pull
Copy link

@pull pull bot commented Jan 6, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

dependabot bot and others added 18 commits October 21, 2025 08:04
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.20 to 5.4.21.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.21/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.21/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 5.4.21
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
When using useDragControls with snapToCursor: true on a component with
initial coordinates, the component would snap to the wrong position on
the first drag. This was because the layout measurement includes the
current transform value, but the snap calculation didn't account for it.

The fix adds the current motion value to the snap calculation to ensure
the element snaps to the correct cursor position regardless of its
initial coordinates.

Fixes #1607
fixes #3397

PR #3389 fixed `framer-motion/src/components/Reorder/Group.tsx`
this one addresses `framer-motion/src/components/Reorder/Item.tsx`
CSS Motion Path properties (offsetDistance, offsetPath, offsetRotate,
offsetAnchor) should remain as CSS styles and not be converted to SVG
attributes. This fixes the issue where animating offsetDistance on SVG
elements would incorrectly render as an HTML attribute rather than a
CSS style property.

Fixes #1450
…vite-5.4.21

Bump vite from 5.4.20 to 5.4.21
…ls-VumSW

Fix snapToCursor not working with initial coordinates
@pull pull bot locked and limited conversation to collaborators Jan 6, 2026
@pull pull bot added the ⤵️ pull label Jan 6, 2026
@pull pull bot merged commit 5902397 into code:main Jan 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants