Skip to content

Commit

Permalink
fix: visual bug with row selection #155
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuechlin committed May 25, 2023
1 parent ef7a436 commit 22bf93e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/pages/examples/OnRowExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export default function OnRowClickExample() {
return (
<>
<Group>
<Notification disallowClose title="click on row to highlight" />
<Notification disallowClose title="hover over column fish to highlight cell" />
<Notification withCloseButton={false} title="click on row to highlight" />
<Notification withCloseButton={false} title="hover over column fish to highlight cell" />
</Group>
<DataGrid
data={demoData.slice(0, 10)}
Expand Down
6 changes: 3 additions & 3 deletions src/RowSelection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export const getRowSelectionColumn = <TData extends RowData>(): ColumnDef<TData,
cell: ({ row }) => (
<Checkbox disabled={!row.getCanSelect()} checked={row.getIsSelected()} onChange={row.getToggleSelectedHandler()} />
),
size: 40,
minSize: 40,
maxSize: 40,
size: 44,
minSize: 44,
maxSize: 44,
enableResizing: false,
});

0 comments on commit 22bf93e

Please sign in to comment.