Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit c33819e

Browse files
EladBezaleljelbourn
authored andcommitted
fix(tooltip): Firefox scroll event was triggered cause the usage of translate3d
Switched `translate3d(0, 0, 0)` with `will-change: opacity, height, width` in order to fix Firefox behavior and preserve performance Closes #6206
1 parent 0eb7d8a commit c33819e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/tooltip/tooltip.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ md-tooltip {
6767
&.md-show {
6868
transition: $swift-ease-out;
6969
pointer-events: auto;
70-
transform: translate3d(0,0,0);
70+
will-change: opacity, height, width;
7171
}
7272
}

0 commit comments

Comments
 (0)