Skip to content

Comments

[pull] main from motiondivision:main#217

Merged
pull[bot] merged 5 commits intocode:mainfrom
motiondivision:main
Feb 20, 2026
Merged

[pull] main from motiondivision:main#217
pull[bot] merged 5 commits intocode:mainfrom
motiondivision:main

Conversation

@pull
Copy link

@pull pull bot commented Feb 20, 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 : )

mattgperry and others added 5 commits February 19, 2026 11:28
When an animation is interrupted, the motionValue carries velocity from
the in-progress animation. For time-defined springs (duration/bounce),
this velocity was passed to findSpring() which used it to compute
stiffness and damping, fundamentally changing the spring's character.
On small-range animations (e.g. opacity 0.5→0.49), even modest inherited
velocity caused findSpring() to produce wildly inappropriate parameters,
leading to massive oscillation.

Physics-defined springs (stiffness/damping/mass) are unaffected — velocity
correctly acts as an initial condition on fixed spring parameters.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…velocity

Ignore velocity for time-defined springs
These events are not cancelable so the passive option has no effect.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pull pull bot locked and limited conversation to collaborators Feb 20, 2026
@pull pull bot added the ⤵️ pull label Feb 20, 2026
@pull pull bot merged commit 2a578ec into code:main Feb 20, 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.

1 participant