Skip to content

Commit

Permalink
fix: bump thead z-index to 2 (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihkeleidast committed May 23, 2023
1 parent 5f6fb30 commit 9f4cd98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TableVirtuoso.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ const TableRoot: React.FC<TableRootProps> = /*#__PURE__*/ React.memo(function Ta
TheTHead!,
{
key: 'TableHead',
style: { zIndex: 1, position: 'sticky', top: 0 },
style: { zIndex: 2, position: 'sticky', top: 0 },
ref: theadRef,
...contextPropIfNotDomElement(TheTHead, context),
},
Expand Down

0 comments on commit 9f4cd98

Please sign in to comment.