pull/17942/head
Simon H 3 days ago committed by GitHub
parent b448a62823
commit be597bbfab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -480,6 +480,14 @@ function reconcile(state, array, anchor, flags, get_key) {
}
}
if ((effect.f & INERT) !== 0) {
resume_effect(effect);
if (is_animated) {
effect.nodes?.a?.unfix();
(to_animate ??= new Set()).delete(effect);
}
}
if ((effect.f & EFFECT_OFFSCREEN) !== 0) {
effect.f ^= EFFECT_OFFSCREEN;
@ -500,14 +508,6 @@ function reconcile(state, array, anchor, flags, get_key) {
move(effect, next, anchor);
prev = effect;
if ((effect.f & INERT) !== 0) {
resume_effect(effect);
if (is_animated) {
effect.nodes?.a?.unfix();
(to_animate ??= new Set()).delete(effect);
}
}
matched = [];
stashed = [];
@ -516,14 +516,6 @@ function reconcile(state, array, anchor, flags, get_key) {
}
}
if ((effect.f & INERT) !== 0) {
resume_effect(effect);
if (is_animated) {
effect.nodes?.a?.unfix();
(to_animate ??= new Set()).delete(effect);
}
}
if (effect !== current) {
if (seen !== undefined && seen.has(effect)) {
if (matched.length < stashed.length) {

Loading…
Cancel
Save