Skip to content

Commit

Permalink
[DataGrid] Fix last separator not being hidden when grid is scrollable (
Browse files Browse the repository at this point in the history
  • Loading branch information
KenanYusuf authored and LukasTy committed Dec 19, 2024
1 parent 042c1a5 commit b6c68ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ export const useGridColumnHeaders = (props: UseGridColumnHeadersProps) => {
fields={headerInfo.fields}
colIndex={headerInfo.colIndex}
depth={depth}
isLastColumn={headerInfo.colIndex === visibleColumns.length - headerInfo.fields.length}
isLastColumn={index === visibleColumnGroupHeader.length - 1}
maxDepth={headerGroupingMaxDepth}
height={dimensions.groupHeaderHeight}
hasFocus={hasFocus}
Expand Down

0 comments on commit b6c68ac

Please sign in to comment.