-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black hover over list item with checkbox #4629
Comments
I'm on version 73.0.3683.103 and cannot confirm this is happening. I will need to track another Linux machine down for Chrome 74.x. |
v74 is still in Beta...if this is still an issue when v74 is out of beta. Please ping/reopen the issue. Thank you! https://chromereleases.googleblog.com/2019/04/beta-channel-update-for-desktop_22.html |
@moog16 v74 is released and i can reproduce too now, was fine before updating. |
@moog16 Can confirm that this is still a problem, Chrome just updated and now shows the black flashes. It's not specific to the checkboxes either, as I also get this problem when clicking on buttons inside a list (for menu's). Please feel free to mention me if you need any further information. |
@moog16 Also, if it helps, this isn't specific to Linux, I see the same problem on Windows and macOS... You can see the bug in action by playing around with the List with Trailing Checkbox demo itself: |
Ok reopening! |
I have this issue too. I added the following style rule to fix it: :not(.mdc-list--non-interactive) > :not(.mdc-list-item--disabled).mdc-list-item:hover::before {
filter: opacity(100%);
} |
this bug also happens to Edge Canary build 76.0.144.0 (Official build) canary (64-bit) . |
this bug also happens to Android Version of Chrome v74.0.3729.112 |
Seems to impact ".mdc-list-item" and ".mdc-card__primary-action" hover and active states for Chrome. |
This looks related to will-change css property (or at least turning that property off reverts behaviour to chrome 73 - but at the expense of not optimizing any changes). But I can't find anything on blink/chromium that owuld explain why... |
#4690 still an issue with latest Chrome and latest 2.1.0 version. |
Linking rmwc/rmwc#458 I did some more poking around to. To confirm some things
Hope this helps! |
I spent sometime investigating this issue. Removing
As per documentation from MDN & other resources:
IMO, I'm not sure if it is a good idea to use |
@abhiomkar RE will-change: I think its a good idea to add that to the best-practices doc. |
Not only checkbox, Radio in List also produce similar issue. |
Update: This bug is reported to Chrome browser team and fix will be launched in upcoming Chrome version. https://bugs.chromium.org/p/chromium/issues/detail?id=974289 |
What MDC Web Version are you using?
1.1.1
What browser(s) is this bug affecting?
Chrome (Chromium) 74.0.3729.61
What OS are you using?
Ubuntu 18.04
What are the steps to reproduce the bug?
What is the expected behavior?
The background should be transparent.
What is the actual behavior?
The background is black.
Any other information you believe would be useful?
This issue only happens on Chrome 74+. I'm not sure if it's a bug in Chrome 74+ or not since it's still in beta, but removing the z-index from this selector fixes the problem:
removing "will-change" in this selector fixes this issue too:
The text was updated successfully, but these errors were encountered: