Skip to content

Commit 97f95f0

Browse files
committed
perf(VirtualScroll): (backport from Qv2) prevent repaint on elements that are not visible
1 parent e6c7975 commit 97f95f0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ui/src/components/virtual-scroll/QVirtualScroll.sass

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
&__content
66
outline: none
7+
contain: content
78

89
*
910
overflow-anchor: none

ui/src/components/virtual-scroll/QVirtualScroll.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
&__content
66
outline: none
7+
contain: content
78

89
*
910
overflow-anchor: none

0 commit comments

Comments
 (0)