-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-switch ripple turns on when window gets focus #7837
Comments
This is actually not an issue, the focus on the switch is just restored by the browsers behavior. |
@devversion Can you please re-open this issue. This ripple effect occurs even on the 'no ripple' directive See screen shot |
@jsr6720 Please explain, how we can reproduce that bug? I'm not able to reproduce it by your steps above. |
Same steps as above. I just confirmed in Google Canary
|
@devversion do you still need more information? This is impacting our implementation of md-switch @paychex |
@jsr6720 I will investigate today and look for the correct behavior. Thanks for explanation. |
@jsr6720 Just investigated again at this issue. And it's still not an issue. It's also not a ripple, it's just a focus effect, which is added for Keyboard Interaction / a11y. The focus effect is always showing, because the browser restores the focus back to the last element. (and that was obviously the switch). |
@devversion I can repro this with Chrome. It happens in both states. (Note: We also see this on button icons)
To further explain the issues, we are seeing this when our application pops a toast. Once the toast fades this effect happens. |
As long as we don't have an option (or attribute) to set this focus off this is a bug.. I don't think we should see the background animation after switching windows.. |
@angryfatkid @roytz I can now reproduce your issue. I will provide a fix as soon as possible. |
So, we need a way to detect the last interaction type. A PR is already pending - #7965, which means, that this issue is currently blocked. cc. @ThomasBurleson |
@devversion Thanks! |
This issue will be deprecated soon. The actual issue will be tracked in #7963 |
This issue is closed as part of our ‘Surge Focus on Material 2' efforts. |
Note: This has been solved in |
Browser Chrome Canary: Version 51.0.2696.0 canary (64-bit)
Manufacturer............Hewlett-Packard
Model...................HP EliteDesk 800 G1 SFF
OS Version..............Windows 7
Steps to reproduce:
See below image. "Switch 1" has ripple even though my mouse is not near the toggle.
The text was updated successfully, but these errors were encountered: