File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function RowVirtualizerDynamic({ rows }) {
7575 top : 0 ,
7676 left : 0 ,
7777 width : "100%" ,
78- height : `${ virtualRow . size } px` ,
78+ height : `${ rows [ virtualRow . index ] } px` ,
7979 transform : `translateY(${ virtualRow . start } px)`
8080 } }
8181 >
@@ -127,7 +127,7 @@ function ColumnVirtualizerDynamic({ columns }) {
127127 top : 0 ,
128128 left : 0 ,
129129 height : "100%" ,
130- width : `${ virtualColumn . size } px` ,
130+ width : `${ columns [ virtualColumn . index ] } px` ,
131131 transform : `translateX(${ virtualColumn . start } px)`
132132 } }
133133 >
@@ -206,8 +206,8 @@ function GridVirtualizerDynamic({ rows, columns }) {
206206 position : "absolute" ,
207207 top : 0 ,
208208 left : 0 ,
209- width : `${ virtualColumn . size } px` ,
210- height : `${ virtualRow . size } px` ,
209+ width : `${ columns [ virtualColumn . index ] } px` ,
210+ height : `${ rows [ virtualRow . index ] } px` ,
211211 transform : `translateX(${ virtualColumn . start } px) translateY(${ virtualRow . start } px)`
212212 } }
213213 >
You can’t perform that action at this time.
0 commit comments