Skip to content

Commit a157f0a

Browse files
authored
fix(DataTable): fix stacking issues with table toolbar + batch actions (#14275)
1 parent ea0a787 commit a157f0a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/styles/scss/components/data-table/action/_data-table-action.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
.#{$prefix}--table-toolbar {
2828
// Need for batch actions
2929
position: relative;
30+
z-index: 1;
3031
display: flex;
3132
width: 100%;
3233
min-height: $spacing-09;
@@ -388,6 +389,7 @@
388389
justify-content: space-between;
389390
background-color: $background-brand;
390391
clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
392+
opacity: 0;
391393
pointer-events: none;
392394
transform: translate3d(0, 48px, 0);
393395
transition: transform $duration-fast-02 motion(standard, productive),
@@ -401,7 +403,9 @@
401403
}
402404
// 200% to allow tooltips
403405
.#{$prefix}--batch-actions--active {
404-
clip-path: polygon(0 0, 200% 0, 200% 200%, 0 200%);
406+
z-index: 1;
407+
clip-path: polygon(0 0, 300% 0, 300% 300%, 0 300%);
408+
opacity: 1;
405409
pointer-events: all;
406410
transform: translate3d(0, 0, 0);
407411
}

0 commit comments

Comments
 (0)