Skip to content

Commit 8f8bb85

Browse files
committed
Fix "length 0" text not appearing on lists that are initially empty
1 parent f181315 commit 8f8bb85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scaffolding/monitor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class ListMonitor extends Monitor {
374374
this.rows = new Map();
375375
this.cachedRows = [];
376376
this.scrollTop = 0;
377-
this.oldLength = 0;
377+
this.oldLength = -1;
378378

379379
this.label = document.createElement('div');
380380
this.label.className = styles.monitorListLabel;

0 commit comments

Comments
 (0)