File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ const ImageListVirtualized = () => {
96
96
autoHeight
97
97
height = { height }
98
98
width = { width }
99
- overscanRowCount = { 0 }
99
+ overscanRowCount = { 5 } // overscanRowCount 속성은 사용자가 스크롤하는 방향으로 추가 행을 렌더링하여 사용자가 가상화된 콘텐츠를 렌더링할 수 있는 것보다 빠르게 스크롤시 깜빡임을 최소화합니다.
100
100
isScrolling = { isScrolling }
101
101
onScroll = { onChildScroll }
102
102
scrollTop = { scrollTop }
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ const TextListVirtualized = () => {
87
87
height = { height }
88
88
width = { width }
89
89
isScrolling = { isScrolling }
90
- overscanRowCount = { 0 }
90
+ overscanRowCount = { 5 } // overscanRowCount 속성은 사용자가 스크롤하는 방향으로 추가 행을 렌더링하여 사용자가 가상화된 콘텐츠를 렌더링할 수 있는 것보다 빠르게 스크롤시 깜빡임을 최소화합니다.
91
91
onScroll = { onChildScroll }
92
92
scrollTop = { scrollTop }
93
93
rowCount = { list . length }
You can’t perform that action at this time.
0 commit comments