mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-28 16:06:41 +01:00
fix: selection column should be sticky especially when columns are frozen (#1466)
* bulk selection bug fix * space lint fix
This commit is contained in:
@@ -122,7 +122,7 @@ export const TableBody = memo(function TableBody({
|
||||
|
||||
if (cell.id.includes("_rowy_select")) {
|
||||
return (
|
||||
<StyledCell key={cell.id} role="gridcell">
|
||||
<StyledCell key={cell.id} role="gridcell" data-frozen="left">
|
||||
{flexRender(cell.column.columnDef.cell, cell.getContext())}
|
||||
</StyledCell>
|
||||
);
|
||||
|
||||
@@ -79,7 +79,8 @@ export const TableHeader = memo(function TableHeader({
|
||||
<StyledColumnHeader
|
||||
key={header.id}
|
||||
role="columnheader"
|
||||
style={{ padding: 0 }}
|
||||
style={{ padding: 0, zIndex: 11 }}
|
||||
data-frozen="left"
|
||||
>
|
||||
{flexRender(
|
||||
header.column.columnDef.header,
|
||||
|
||||
Reference in New Issue
Block a user