Skip to content

Commit

Permalink
fix(BaseHeaderCell): fix resizing when sorting enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
kseniyakuzina committed Sep 24, 2024
1 parent 39b5709 commit 70c7f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BaseHeaderCell/BaseHeaderCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const BaseHeaderCell = <TData, TValue>({
className={b('header-cell', getHeaderCellClassModes(header), className)}
colSpan={header.colSpan > 1 ? header.colSpan : undefined}
rowSpan={rowSpan > 1 ? rowSpan : undefined}
onClick={header.column.getToggleSortingHandler()}
onMouseDown={header.column.getToggleSortingHandler()}
aria-sort={getAriaSort(header.column.getIsSorted())}
aria-colindex={getHeaderCellAriaColIndex(header)}
{...attributes}
Expand Down

0 comments on commit 70c7f11

Please sign in to comment.