-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
@media (hover: none) issue on older mobile devices #15736
Comments
What browser are you using? It doesn't look like Chrome. Could it be the UC Browser with no support for touch action none? |
I use some browsers. Samsung Internet Browser, chrome, Mi Browser.All have this bug, but if only use android v7.0.1 and up. |
@Koniushok It's funny because it's #15682 problem inversed. |
For some devices this will do. For me it did not fit. But I corrected using:
|
Let's see how popular alternatives solve the problem:
I have tried the following codepen on Android 6, Chrome 74. It works as expected. I think that we should keep the current solution we have on the master branch. I'm not aware of any better solution. Your browser screenshot doesn't seem to use Chrome. What browser is it? |
I used Samsung Internet Browser v9.0.01.80 |
|
@Koniushok Thanks. I can reproduce the problem with Samsung Internet Browser (not Chrome but uses Chromium). This browser has a higher market share than IE 11. This is concerning as the last version of Samsung Internet Browser is impacted. At the same time, we don't officially support it. The problem with the proposed fix is that it involves the pointer precision, it seems unrelated to the hover capability. I don't think that it's an option we can rely on. The Ionic strategy doesn't work either (tested). I fear we will have to wait for a fix in the browser. Now, Material-UI API allows you to patch the generated styles, you can apply the changes in your project. There is no lock-in. |
I checked browsers:
|
@Koniushok Interesting, it seems to be phone related (Samsung) OK
KO https://www.ctrl.blog/entry/css-media-hover-samsung.html
|
I haven't realized, It's a duplicate of #15000. |
For reference, the only workaround we found for this problem so far is in mui/material-ui-pickers#1653 (comment) with @dmtrKovalenko. |
When use android ^v7.0.1 (v8.0.x , v9.0.x ,...) button focus show background.
Expected Behavior 🤔
starting animation(ripple) then button background disappears
Current Behavior 😯
starting animation(ripple) then button background become grey
Steps to Reproduce 🕹
The text was updated successfully, but these errors were encountered: