|
|
|
@ -417,7 +417,8 @@ function reconcile_tracked_array(
|
|
|
|
insert_each_item_block(block, dom, is_controlled, null);
|
|
|
|
insert_each_item_block(block, dom, is_controlled, null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
var should_update_block = (flags & (EACH_ITEM_REACTIVE | EACH_INDEX_REACTIVE)) !== 0;
|
|
|
|
var is_animated = (flags & EACH_IS_ANIMATED) !== 0;
|
|
|
|
|
|
|
|
var should_update_block = (flags & (EACH_ITEM_REACTIVE | EACH_INDEX_REACTIVE)) !== 0 || is_animated;
|
|
|
|
var start = 0;
|
|
|
|
var start = 0;
|
|
|
|
|
|
|
|
|
|
|
|
/** @type {null | Text | Element | Comment} */
|
|
|
|
/** @type {null | Text | Element | Comment} */
|
|
|
|
@ -500,7 +501,6 @@ function reconcile_tracked_array(
|
|
|
|
mark_lis(sources);
|
|
|
|
mark_lis(sources);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// If keys are animated, we need to do updates before actual moves
|
|
|
|
// If keys are animated, we need to do updates before actual moves
|
|
|
|
var is_animated = (flags & EACH_IS_ANIMATED) !== 0;
|
|
|
|
|
|
|
|
var should_create;
|
|
|
|
var should_create;
|
|
|
|
if (is_animated) {
|
|
|
|
if (is_animated) {
|
|
|
|
var i = b_length;
|
|
|
|
var i = b_length;
|
|
|
|
|