components icon indicating copy to clipboard operation
components copied to clipboard

Slide-toggle background disappears when unchecked

Open toddpeak opened this issue 10 years ago • 3 comments

Bug, feature request, or proposal:

Bug

What is the expected behavior?

The background should be gray behind the white thumb.

What is the current behavior?

The background disappears and it makes it difficult to determine that it's a slide-toggle. image

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue. Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, browsers are affected?

Angular 2.2.0 Angular Material 2.00-alpha.10

Is there anything else we should know?

toddpeak avatar Nov 28 '16 14:11 toddpeak

Ugh, never mind, I guess I can't use a white background with the prebuilt theme.

toddpeak avatar Nov 28 '16 14:11 toddpeak

How would I go about getting it to look the old way? The screenshots in the README still say that it will look the way I want it, but it doesn't work that way. Something like this: `@import '../node_modules/@angular/material/core/theming/prebuilt/deeppurple-amber.scss';

.md-slide-toggle-bar { background-color: rgba(191, 191, 191, 0.5); }`

toddpeak avatar Nov 29 '16 18:11 toddpeak

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.