Sourced from motion's changelog.
[12.38.0] 2026-03-16
Added
- Added
layoutAnchorprop to configure custom anchor point for resolving relative projection boxes.Fixed
Reorder: Fix axis switching after window resize.Reorder: Fix with virtualised lists.AnimatePresence: Ensure children are removed when exit animation matches current values.[12.37.0] 2026-03-16
Added
- Support for hardware accelerating
"start"and"end"offsets inscrollanduseScroll.- Support for
oklch,oklab,lab,lch,color,color-mix,light-darkcolor types.Fixed
- Fix
whileInViewwith client-side navigation.- Fix draggable elements when layout updates due to surrounding element re-renders.
- Improved memory pressure of layout animations.
- Ensure motion value returned from
useSpringreports correctisAnimating().[12.36.0] 2026-03-09
Added
- Allow
dragSnapToOriginto accept"x"or"y"for per-axis snapping.- Added axis-locked layout animations with
layout="x"andlayout="y".- Added
skipInitialAnimationtouseSpring.Fixed
- Fixed
heightandwidth: autoanimations withbox-sizing: border-box.- Reset component values when exit animation finishes.
- Ensure
anticipateeasing returns1atp === 1.- Fix
@emotion/is-prop-validresolve error in Storybook.- Remove
data-pop-layout-idfrom exiting elements when animation interrupted.- Ensure we skip WAAPI for non-animatable keyframes.
- Ensure we skip WAAPI for SVG transforms.
- Ensure
MotionValueprops are not passed to SVG.AnimatePresence: Preventmode="wait"elements from getting stuck when switched rapidly.[12.35.2] 2026-03-09
Fixed
... (truncated)
0bfc9fe
v12.38.0343cb0c
Updating layoutAnchoree99ad2
Updating changelog062660b
Updating changgelog303da7d
Updating readmeb075adc
Merge pull request #3647
from motiondivision/feat/layout-anchorf0991d6
Add missing layoutAnchor !== false guard in
attemptToResolveRelativeTargetb5798e9
Merge pull request #3642
from motiondivision/worktree-fix-issue-30787686c19
Merge pull request #3636
from motiondivision/worktree-fix-issue-3061a95c487
Fix auto-scroll in reorder-virtualized test page