material-components / material-components-web

Modular and customizable Material Design UI components for the web
https://material.io/develop/web
MIT License
17.14k stars 2.15k forks source link

MDCSelect - Changing MDCSwitch track color while animating in outlined mode #4711

Open jaredplowman opened 5 years ago

jaredplowman commented 5 years ago

Bug report

Steps to reproduce

  1. Go to 'https://glitch.com/~mdc-select-issue'
  2. Change selection on 'the select box'
  3. Watch the slider track change color on the switch below the select

Actual behavior

Selecting the outlined mdc-select affects the background color of the mdc-switch(es) below the mdc-select component

Expected behavior

The mdc-select component shouldn't affect other components

Your Environment:

Software Version(s)
MDC Web 2.1.1
Browser Chrome 74.0.3729.131
Operating System Windows 10
While animating After animation
image image
abhiomkar commented 5 years ago

select_switch_window

Tested this on Windows 10, Chrome 74. I'm not able to reproduce this issue?

moog16 commented 5 years ago

Confirming that this is happening on my Windows10 machine. It happens briefly between animating open and animating close.

jaredplowman commented 5 years ago

This is also happening to us when we toggle our switches now. I'll see if I can reproduce on glitch and post back.