From c330980fd47cc20721e1b04d6b729036e601e7ad Mon Sep 17 00:00:00 2001 From: Sripal K Jain <53490263+skj-skj@users.noreply.github.com> Date: Sat, 28 Sep 2024 16:37:03 +0530 Subject: [PATCH] fix: fixed DataTable thead z-index (#7258) (#7268) --- 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 {