You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(mat-slider): when mat-slider has parent with .mat-accent it will not show the primary color #21271
While I agree that this is kind of weird, I don't think we will do anything to change it. It's somewhat unexpected to put a slider inside of another form control that supports the color input. In particular, putting a slider into a selection list or chip would be invalid from an accessibility perspective.
Thank you @crisbeto, I can confirm, it will happen with a tab with color accent. It will also happen with a slider inside a toolbar.
It seems NOT to happen with vert./hor. stepper.
Activity
jelbourn commentedon Dec 10, 2020
While I agree that this is kind of weird, I don't think we will do anything to change it. It's somewhat unexpected to put a slider inside of another form control that supports the
colorinput. In particular, putting a slider into a selection list or chip would be invalid from an accessibility perspective.crisbeto commentedon Dec 10, 2020
This can happen if a slider is put inside a tab group with an explicit color. Reopening.
andreElrico commentedon Dec 10, 2020
Thank you @crisbeto, I can confirm, it will happen with a tab with color accent. It will also happen with a slider inside a toolbar.
It seems NOT to happen with vert./hor. stepper.
fix(material/slider): incorrectly inheriting color when nested inside…
fix(material/slider): incorrectly inheriting color when nested inside…
fix(material/slider): incorrectly inheriting color when nested inside…
fix(material/slider): incorrectly inheriting color when nested inside…
fix(material/slider): incorrectly inheriting color when nested inside…
angular-automatic-lock-bot commentedon Feb 15, 2022
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.
fix(material/slider): incorrectly inheriting color when nested inside…