Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix(switch): add transform transition to switch control to avoid over…
Browse files Browse the repository at this point in the history
…flow-x issues

PiperOrigin-RevId: 294610409
  • Loading branch information
material-web-copybara authored and copybara-github committed Feb 12, 2020
1 parent 376ba49 commit 8c11ea2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/mdc-switch/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
@include feature-targeting-mixins.targets($feat-structure) {
@include native-control_;
}
@include feature-targeting-mixins.targets($feat-animation) {
transition: functions.transition(transform);
}
}

.mdc-switch__track {
Expand Down

0 comments on commit 8c11ea2

Please sign in to comment.