Skip to content

Commit

Permalink
fix(tooltip): Firefox scroll event was triggered cause the usage of t…
Browse files Browse the repository at this point in the history
…ranslate3d

Switched `translate3d(0, 0, 0)` with `will-change: opacity, height, width` in order to fix Firefox behavior and preserve performance

Closes angular#6206
  • Loading branch information
EladBezalel authored and jelbourn committed Dec 14, 2015
1 parent 0eb7d8a commit c33819e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tooltip/tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ md-tooltip {
&.md-show {
transition: $swift-ease-out;
pointer-events: auto;
transform: translate3d(0,0,0);
will-change: opacity, height, width;
}
}

0 comments on commit c33819e

Please sign in to comment.