Skip to content

Commit 82a22a7

Browse files
traviskaufmanjelbourn
authored andcommitted
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.
1 parent 69512c2 commit 82a22a7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/checkbox/checkbox.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,7 @@ $_md-checkbox-indeterminate-checked-easing-function: cubic-bezier(0.14, 0, 0, 1)
202202
*/
203203
%md-checkbox-mark {
204204
$width-padding-inset: 2 * $md-checkbox-border-width;
205-
206205
width: calc(100% - #{$width-padding-inset});
207-
will-change: opacity, transform;
208206
}
209207

210208
/**

0 commit comments

Comments
 (0)