mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(checkbox): Remove GPU layer promotion for mark elements
This commit removes the CSS that promotes checkmarks to the GPU layer, due to an issue in Chrome which makes transitions appear incorrect when the promotions are applied.
This commit is contained in:
committed by
Jeremy Elbourn
parent
69512c2f6a
commit
82a22a71d0
@@ -202,9 +202,7 @@ $_md-checkbox-indeterminate-checked-easing-function: cubic-bezier(0.14, 0, 0, 1)
|
||||
*/
|
||||
%md-checkbox-mark {
|
||||
$width-padding-inset: 2 * $md-checkbox-border-width;
|
||||
|
||||
width: calc(100% - #{$width-padding-inset});
|
||||
will-change: opacity, transform;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user