Skip to content

Commit

Permalink
[EuiFlyout][EuiCollapsibleNav] Fix broken slide in animation for left…
Browse files Browse the repository at this point in the history
… flyouts (#6422)

* [EuiFlyout][EuiCollapsibleNav] Fix broken slide in animation for left flyouts

* changelog
  • Loading branch information
Cee authored Nov 21, 2022
1 parent f9d5bc6 commit abb925a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/flyout/flyout.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const euiFlyoutSlideInLeft = keyframes`
75% {
opacity: 1;
transform: translateX(0%);
}
}
`;

export const euiFlyoutCloseButtonStyles = (euiThemeContext: UseEuiTheme) => {
Expand Down Expand Up @@ -144,7 +144,8 @@ export const euiFlyoutStyles = (euiThemeContext: UseEuiTheme) => {
clip-path: polygon(0 0, 150% 0, 150% 100%, 0 100%);
${euiCanAnimate} {
animation: ${euiFlyoutSlideInLeft};
animation: ${euiFlyoutSlideInLeft} ${euiTheme.animation.normal}
${euiTheme.animation.resistance};
}
`,

Expand Down
3 changes: 3 additions & 0 deletions upcoming_changelogs/6422.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Bug fixes**

- Fixed missing slide-in animation on `EuiCollapsibleNav`s and left-side `EuiFlyout`s

0 comments on commit abb925a

Please sign in to comment.