Skip to content

Commit

Permalink
[PR feedback] Update Sass mixin as well
Browse files Browse the repository at this point in the history
- eventually going to be deprecated, but we can cross that bridge when we get to it
  • Loading branch information
cee-chen committed Jun 26, 2024
1 parent 49b34a7 commit 3848243
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eui/src/global_styling/mixins/_shadow.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,9 @@
} @else {
@warn "euiOverflowShadow() expects direction to be 'y' or 'x' but got '#{$direction}'";
}

// Chrome+Edge has a very bizarre edge case bug where `mask-image` stops working
// This workaround forces a stacking context on the scrolling container, which
// hopefully addresses the bug. @see https://github.com/elastic/eui/pull/7855
transform: translateZ(0);
}

0 comments on commit 3848243

Please sign in to comment.