From f2bf3aa2e5916ac2f3fa2a13ab0cb78603d3008e Mon Sep 17 00:00:00 2001 From: Jain Date: Sat, 28 Sep 2024 13:37:58 +0530 Subject: [PATCH] fix: fixed DataTable thead z-index (#7258) --- components/lib/datatable/DataTableBase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/datatable/DataTableBase.js b/components/lib/datatable/DataTableBase.js index 96dcf12ac4..7ac9e31ea6 100644 --- a/components/lib/datatable/DataTableBase.js +++ b/components/lib/datatable/DataTableBase.js @@ -56,7 +56,7 @@ const styles = ` .p-datatable-scrollable-table > .p-datatable-thead { position: sticky; top: 0; - z-index: 1; + z-index: 2; } .p-datatable.p-datatable-gridlines .p-datatable-scrollable-table > .p-datatable-thead {