Skip to content

Commit

Permalink
Move animation to only play when nav becomes visible
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Apr 16, 2020
1 parent ce2240f commit 0982f9b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/collapsible_nav/_collapsible_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
left: 0;
width: $euiCollapsibleNavWidth;
max-width: 80vw;

&:not(.euiCollapsibleNav--isDocked) {
animation: euiCollapsibleNavIn $euiAnimSpeedNormal $euiAnimSlightResistance;
}
animation: euiCollapsibleNavIn $euiAnimSpeedNormal $euiAnimSlightResistance;
}

.euiCollapsibleNav__closeButton {
Expand Down

0 comments on commit 0982f9b

Please sign in to comment.