Commit ccb32f52 by zhaochengxiang

虚拟滚动适配chrome低版本

parent bdd897ee
...@@ -245,7 +245,7 @@ function FC<Row extends RowData, SR, K extends React.Key = React.Key>(props: Dat ...@@ -245,7 +245,7 @@ function FC<Row extends RowData, SR, K extends React.Key = React.Key>(props: Dat
onRowsChange={onRowsChange} onRowsChange={onRowsChange}
// headerRowHeight={45} // headerRowHeight={45}
rowHeight={(args) => (args.type === 'ROW' && args.row.__type__ === RowType.Detail ? (expandable.expandedRowHeight||100) : rowHeight)} rowHeight={(args) => (args.type === 'ROW' && args.row.__type__ === RowType.Detail ? (expandable?.expandedRowHeight||100) : rowHeight)}
// defaultColumnOptions={{ // defaultColumnOptions={{
// sortable: true, // sortable: true,
......
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
border-inline-end: none !important; border-inline-end: none !important;
font-weight: normal !important; font-weight: normal !important;
outline: none !important; outline: none !important;
top: 0 !important;
padding-inline: 0 !important;
padding-left: 8px !important;
padding-right: 8px !important;
&:before { &:before {
position: absolute; position: absolute;
...@@ -37,6 +41,9 @@ ...@@ -37,6 +41,9 @@
border-block-end: 1px solid #f0f0f0 !important; border-block-end: 1px solid #f0f0f0 !important;
border-inline-end: none !important; border-inline-end: none !important;
outline: none !important; outline: none !important;
padding-inline: 0 !important;
padding-left: 8px !important;
padding-right: 8px !important;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment