From df87a57e369e1d1f7ed58c40b7ae17a828b57a66 Mon Sep 17 00:00:00 2001 From: Max Gefvert Date: Wed, 22 Nov 2023 12:20:07 +0100 Subject: [PATCH] fix: use increasing z-index for header grid cells (#469) --- src/pivot-table/components/grids/HeaderGrid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pivot-table/components/grids/HeaderGrid.tsx b/src/pivot-table/components/grids/HeaderGrid.tsx index 5d7bc9ee..a14d78c6 100644 --- a/src/pivot-table/components/grids/HeaderGrid.tsx +++ b/src/pivot-table/components/grids/HeaderGrid.tsx @@ -57,7 +57,7 @@ const HeaderGrid = ({ height: rowHight, gridColumn: colIndex + 1, gridRow: rowIndex + 1, - zIndex: Number(!cell.isDim), + zIndex: headersData.size.x - colIndex, }} isLastRow={rowIndex === headersData.size.y - 1} isFirstColumn={colIndex === 0}