Skip to content

Commit

Permalink
[EuiAccordion] Replace translateZ with will-change (#5806)
Browse files Browse the repository at this point in the history
* replace translateZ with will-change

* CL
  • Loading branch information
thompsongl authored Apr 20, 2022
1 parent fcf023e commit ab41c34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/accordion/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
}

.euiAccordion__childWrapper {
will-change: opacity, visibility, height;
visibility: hidden;
height: 0;
opacity: 0;
overflow: hidden;
transform: translatez(0);
// sass-lint:disable-block indentation
transition:
height $euiAnimSpeedNormal $euiAnimSlightResistance,
Expand Down
4 changes: 4 additions & 0 deletions upcoming_changelogs/5806.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**Bug fixes**

- Fixed layout bug in `EuiAccordion` children that use `position: fixed;`

0 comments on commit ab41c34

Please sign in to comment.