Skip to content

Comments

[pull] main from motiondivision:main#201

Merged
pull[bot] merged 15 commits intocode:mainfrom
motiondivision:main
Jan 21, 2026
Merged

[pull] main from motiondivision:main#201
pull[bot] merged 15 commits intocode:mainfrom
motiondivision:main

Conversation

@pull
Copy link

@pull pull bot commented Jan 21, 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 : )

claude and others added 15 commits January 19, 2026 14:09
When passing scale: "0" or similar string values, the buildTransform
function was incorrectly treating these as default values because it
only checked if parseFloat(value) === 0 for string values.

For scale properties, the default is 1, not 0. This fix makes the
string branch mirror the number branch logic, checking against 1 for
scale properties and 0 for others.

Fixes #3465
Apply the same fix to the duplicate buildTransform function in
effects/style/transform.ts. This ensures string scale values of "0"
are correctly handled in the styleEffect code path as well.

Fixes #3465
…bers-li3Qf

Handle default transform values when strings
This allows numeric fontSize values to automatically have "px" units
appended, matching the behavior of width, height, and other dimension
properties.

Fixes #2749
…s load

When using LazyMotion with async feature loading, state changes that occur
before features load (~5ms after mount) would cause the element to snap to
its final value instead of animating. This happened because the VisualElement
wasn't created until features loaded, so there was no AnimationState to track
the state changes.

The fix tracks whether the component has already been through React's commit
phase before the VisualElement is created. If so, we set manuallyAnimateOnMount
to true, which forces the initial animation to run rather than being blocked.

Fixes #2759

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The SVG feMorphology filter primitive requires radius to be a unitless
number. The radius property was incorrectly mapped to px units, which
caused animated radius values to become invalid (e.g., "4px" instead of "4").

Fixes #2779
…dcMtf

Fix `radius` in `feMorphology` tag
Fix LazyMotion animation not firing when state changes before features load
…ypes-mudor

Add fontSize to default px types list
@pull pull bot locked and limited conversation to collaborators Jan 21, 2026
@pull pull bot added the ⤵️ pull label Jan 21, 2026
@pull pull bot merged commit d8dd8a8 into code:main Jan 21, 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.

2 participants