Skip to content

Commit a7f0d13

Browse files
authored
fix: unused pool has to be refetched after new view is added (#393)
1 parent fa43694 commit a7f0d13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/RecycleScroller.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,8 @@ export default {
445445
view = this.addView(pool, i, item, key, type)
446446
this.unuseView(view, true)
447447
}
448+
unusedPool = unusedViews.get(type)
449+
448450
// Use existing view
449451
// We don't care if they are already used
450452
// because we are not in continous scrolling

0 commit comments

Comments
 (0)