Skip to content

Commit 7ad41d8

Browse files
committed
Revert "dashboard: remove content-visibility CSS to fix log windows not being scrolled to the bottom after expanding them in Chrome"
This reverts commit c99d488. This regressed performance in Chrome when having all the log windows expanded and looking at the top of the page: memory footprint went from 214MB -> 442MB and CPU time went from 1m18s to 1m52s.
1 parent c99d488 commit 7ad41d8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dashboard/dashboard.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,12 @@
227227
box-shadow: 4px 4px 17px 0px #0000001c;
228228
overscroll-behavior: contain;
229229
contain: strict;
230+
content-visibility: auto;
230231
}
231232

232233
.log-window-hidden {
233234
display: none;
235+
content-visibility: hidden;
234236
}
235237

236238
.log-window-stopped {

0 commit comments

Comments
 (0)