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 web-flow committed Nov 22, 2024
1 parent 98fd3d5 commit 848c80b
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 848c80b

Please sign in to comment.