chore(deps): update dependency framer-motion to v12.38.0#3333
Merged
gabrielmfern merged 2 commits intocanaryfrom Apr 17, 2026
Merged
chore(deps): update dependency framer-motion to v12.38.0#3333gabrielmfern merged 2 commits intocanaryfrom
gabrielmfern merged 2 commits intocanaryfrom
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
gabrielmfern
approved these changes
Apr 16, 2026
0c06b39 to
e6ebb91
Compare
gabrielmfern
approved these changes
Apr 17, 2026
e6ebb91 to
efc4849
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
12.23.22→12.38.0Release Notes
motiondivision/motion (framer-motion)
v12.38.0Compare Source
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.v12.37.0Compare Source
Added
"start"and"end"offsets inscrollanduseScroll.oklch,oklab,lab,lch,color,color-mix,light-darkcolor types.Fixed
whileInViewwith client-side navigation.useSpringreports correctisAnimating().v12.36.0Compare Source
Added
dragSnapToOriginto accept"x"or"y"for per-axis snapping.layout="x"andlayout="y".skipInitialAnimationtouseSpring.Fixed
heightandwidth: autoanimations withbox-sizing: border-box.anticipateeasing returns1atp === 1.@emotion/is-prop-validresolve error in Storybook.data-pop-layout-idfrom exiting elements when animation interrupted.MotionValueprops are not passed to SVG.AnimatePresence: Preventmode="wait"elements from getting stuck when switched rapidly.v12.35.2Compare Source
Fixed
styleEffect.popLayout.opacityanimations in React Strict Mode in development.useSpringis not affected by monitor framerate.%-based translation.autoplay: falsewith WAAPI animations.calc()values before making animatable templates.v12.35.1Compare Source
Fixed
delay.animation.time = 0on a finished animation sets the playhead in a paused state.v12.35.0Compare Source
Added
ViewTimelinesupport forscrollanduseScroll.v12.34.5Compare Source
Fixed
typeof windowchecks.v12.34.4Compare Source
Fixed
onCompletefires at the end of an animation sequence.v12.34.3Compare Source
Fixed
velocityis never transferred to a time-derived spring.v12.34.2Compare Source
Fixed
v12.34.1Compare Source
Fixed
useScroll: Ensure animations aren't hardware accelerated whentargetis set."none"generation for mask values.v12.34.0Compare Source
Fixed
useScroll: Hardware accelerated animations.v12.33.2Compare Source
Fixed
v12.33.0Compare Source
Added
<motion />: Newpropagate.tapprop prevents tap gestures from propagating to parents.v12.32.0Compare Source
Added
transition.inherit: Whentrue, inherit transition values from less-specific transitions.v12.31.3Compare Source
Fixed
<motion />: Ensure animation state is reset after being re-suspended.transitionEndandtransition.type: false.v12.31.2Compare Source
Fixed
onHoverStartandonHoverEndfirst argument now correctly typed asPointerEvent.whileHover: No longer persists after drag end.AnimatePresence: Allow changingmodeprop.v12.31.1Compare Source
Added
v12.31.0Compare Source
Added
animate: Support for bi-directional callbacks within animation sequences.Fixed
onPannever fires beforeonPanStart.v12.30.1Compare Source
Fixed
aandbuttonelements.v12.30.0Compare Source
Added
MotionConfig: AddskipAnimationsoption.Fixed
animate: Prevent error when callingstop()on removed elements.animateLayout: Fixing shared element animations whenanimatecalled beforeanimateLayout.v12.29.3Compare Source
Fixed
Reorder: Fixed viewport autoscroll.v12.29.2Compare Source
Fixed
v12.29.0Compare Source
Added
transformViewBoxPoint: Scale drag gestures within<svg>elements whereviewBoxand renderedwidth/heightare mismatched.trackContentSize: NewscrollanduseScrolloption for tracking changes to content size.Fixed
motion.create().layoutDependency.v12.28.2Compare Source
Added
pxforfontSize.Fixed
radius.LazyMotionanimates initial state even when state has changed before Motion is loaded.v12.28.1Compare Source
Fixed
scale: "0%"isn't treated as default value.v12.27.5Compare Source
Fixed
DocumentProjectionNode's attached element wasnull.v12.27.4Compare Source
Added
AnimatePresence:anchorYfor vertically positioning popped children.Fixed
v12.27.3Compare Source
Fixed
button,textareaetc) if these elements havedragapplied directly.v12.27.2Compare Source
Fixed
motion-domandmotion-utils.Reorderautoscroll within scrollable pages.v12.27.1Compare Source
Fixed
v12.27.0Compare Source
Fixed
v12.26.2Compare Source
Fixed
motion-dom.v12.26.1Compare Source
Fixed
useTransform.v12.26.0Compare Source
Added
useTransform.v12.25.0Compare Source
Added
Reorder.Itemreaches the edges of its parent scrollable container.v12.24.12Compare Source
Fixed
v12.24.11Compare Source
Fixed
v12.24.10Compare Source
v12.24.9Compare Source
Fixed
DialogwithAnimatePresence.v12.24.8Compare Source
Fixed
calc()values.v12.24.7Compare Source
Fixed
AnimatePresence.v12.24.6Compare Source
Fixed
matchMediacallbacks.v12.24.5Compare Source
Fixed
refaccess error forAnimatePresencepopLayoutmode in React 19.v12.24.4Compare Source
Fixed
reffunctions that return a cleanup callback.v12.24.3Compare Source
Fixed
onAnimationStartandonAnimationCompletecallbacks fire foruseSpring.v12.24.2Compare Source
Fixed
useDragControlssnapToCursor: true` works with initial transforms.v12.24.1Compare Source
Fixed
styleon SVG elements.JSXis correctly imported byReorder.Item.v12.24.0Compare Source
Added
{ type: "svg" }option tomotion.create()for creating custom SVG components.pxdefault value type for CSS logical properties (paddingBlock,paddingInline,marginBlock,marginInline).Fixed
JSXimport error.motion-dombuild.srcfrom distributed package.v12.23.28Compare Source
Fixed
MotionStyletype with React 19 whenskipLibCheckisfalse.processcheck for better compat with ESM environments.v12.23.27Compare Source
Fixed
motionimport.v12.23.26Compare Source
Fixed
v12.23.25Compare Source
Fixed
v12.23.24Compare Source
Fixed
initial={false}.v12.23.23Compare Source
Added
PresenceChildandPopChildtype for internal use.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Summary by cubic
Upgrade
framer-motionto 12.38.0 to deliver new layout and scroll capabilities plus many fixes, improving animation stability and performance.framer-motionfrom 12.23.22 to 12.38.0 in the workspace catalog; updated lockfile. Transitive updates:motion-domto 12.38.0 andmotion-utilsto 12.36.0.layoutAnchorprop, axis-locked layout animations (layout="x"|"y"),ViewTimelinesupport, hardware-accelerated scroll offsets; fixes forAnimatePresencechild removal andReorderbehavior.Written for commit c783d4d. Summary will update on new commits.