Skip to content

Commit

Permalink
fix(checkbox): Remove GPU layer promotion for mark elements
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
traviskaufman authored and jelbourn committed Apr 5, 2016
1 parent 69512c2 commit 82a22a7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/checkbox/checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 82a22a7

Please sign in to comment.