fix(slider): prevent slider thumb from getting cropped (#8061)

Slider thumb may sometimes get cropped by a scale transformation.
Removing backface visibility ensures that the thumb is painted correctly.
This commit is contained in:
Alex Shevchenko
2017-12-13 15:50:02 -06:00
committed by Andrew Seguin
parent a8cd0334cc
commit 0b05a1fe27
+4
View File
@@ -393,6 +393,10 @@ $mat-slider-focus-ring-size: 30px !default;
left: 50%;
}
.mat-slider-thumb {
@include backface-visibility(hidden);
}
.mat-slider-thumb-label {
bottom: -$mat-slider-thumb-label-size / 2;
left: -($mat-slider-thumb-label-size + $mat-slider-thumb-arrow-gap);