File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -140,13 +140,10 @@ function Cell<RecordType>(props: CellProps<RecordType>) {
140
140
if ( isFixLeft ) {
141
141
fixedStyle . position = 'sticky' ;
142
142
fixedStyle . left = fixLeft as number ;
143
- fixedStyle [ '--sticky-left' ] = `${ fixLeft } px` ;
144
143
}
145
144
if ( isFixRight ) {
146
145
fixedStyle . position = 'sticky' ;
147
-
148
146
fixedStyle . right = fixRight as number ;
149
- fixedStyle [ '--sticky-right' ] = `${ fixRight } px` ;
150
147
}
151
148
152
149
// ================ RowSpan & ColSpan =================
Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ function VirtualCell<RecordType extends { index: number } = any>(
64
64
const mergedStyle : React . CSSProperties = {
65
65
...cellStyle ,
66
66
...style ,
67
- [ '--virtual-width' as any ] : `${ concatColWidth } px` ,
67
+ flex : `0 0 ${ concatColWidth } px` ,
68
+ width : `${ concatColWidth } px` ,
68
69
marginRight : marginOffset ,
69
70
pointerEvents : 'auto' ,
70
71
} ;
You can’t perform that action at this time.
0 commit comments