Skip to content

Comments

[pull] main from motiondivision:main#211

Merged
pull[bot] merged 8 commits intocode:mainfrom
motiondivision:main
Feb 6, 2026
Merged

[pull] main from motiondivision:main#211
pull[bot] merged 8 commits intocode:mainfrom
motiondivision:main

Conversation

@pull
Copy link

@pull pull bot commented Feb 6, 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 8 commits February 6, 2026 08:55
Updated Platinum and Gold sections with new links and images.
Added a new sponsor image for Clerk in the Platinum section.
…tes with dynamic variants

When rapidly switching children inside AnimatePresence with dynamic custom
variants (where animated properties differ between items), exiting children
could get stuck in the DOM. This happened because animateChanges() re-resolved
exit variants on every re-render with the latest custom value, starting new
value animations that interrupted the originals. Since JSAnimation.stop()
doesn't resolve its finished promise, the exit completion chain would hang
forever, preventing onExitComplete from firing and leaving elements in the DOM.

Fix: skip re-processing the exit animation type in animateChanges() when it's
already active and wasn't just explicitly toggled, preserving the running exit
animation's promise chain.

Fixes #3541

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

Fix AnimatePresence keeping exiting children during rapid updates with dynamic variants
@pull pull bot locked and limited conversation to collaborators Feb 6, 2026
@pull pull bot added the ⤵️ pull label Feb 6, 2026
@pull pull bot merged commit 49b3764 into code:main Feb 6, 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