Skip to content

[pull] main from motiondivision:main#213

Merged
pull[bot] merged 13 commits intocode:mainfrom
motiondivision:main
Feb 9, 2026
Merged

[pull] main from motiondivision:main#213
pull[bot] merged 13 commits intocode:mainfrom
motiondivision:main

Conversation

@pull
Copy link

@pull pull bot commented Feb 9, 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 13 commits February 9, 2026 06:35
Thread scroll timeline metadata through MotionValue so that when a
scroll-derived value is bound to an acceleratable CSS property (opacity,
clipPath, filter), a native WAAPI animation is created and attached to
the scroll timeline directly, bypassing JS per-frame updates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…cceleration

- Expand CLAUDE.md testing section: document test types, Cypress E2E
  patterns, and scroll timeline acceleration test requirements
- Fix chained useTransform bug: only propagate accelerate when input
  is a direct scroll progress value (times [0,1], keyframes [0,1]).
  Prevents incorrect WAAPI animations when transforms are chained.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…uard

Replace verbose identity check (times/keyframes === [0,1]) with an
isTransformed flag on AccelerateConfig. The first useTransform from
scroll progress propagates acceleration with isTransformed: true;
subsequent chained transforms see the flag and skip acceleration,
falling back to the JS onChange path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The previous approach used a single requestAnimationFrame inside
useEffect to report animation counts as text content. This was
unreliable in CI because the RAF could fire before the VisualElement
had created the WAAPI animation (e.g. due to StrictMode double-mount
timing). Now Cypress checks element.getAnimations() directly in
.should() callbacks, which retry automatically until the assertion
passes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add scroll timeline acceleration via useScroll + useTransform
@pull pull bot locked and limited conversation to collaborators Feb 9, 2026
@pull pull bot added the ⤵️ pull label Feb 9, 2026
@pull pull bot merged commit 5adbf49 into code:main Feb 9, 2026
1 check failed
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