pull/17258/head
Rich Harris 4 days ago
parent 5d724f10e1
commit cd3c946e63

@ -516,8 +516,6 @@ function reconcile(state, array, anchor, flags, get_key) {
current = effect.next;
}
let has_offscreen_items = items.size > length;
if (state.outrogroups !== null) {
for (const group of state.outrogroups) {
if (group.remaining === 0) {
@ -553,8 +551,6 @@ function reconcile(state, array, anchor, flags, get_key) {
var destroy_length = to_destroy.length;
has_offscreen_items = items.size - destroy_length > length;
if (destroy_length > 0) {
var controlled_anchor = (flags & EACH_IS_CONTROLLED) !== 0 && length === 0 ? anchor : null;

Loading…
Cancel
Save