Skip to content
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

Default hover style not visible on Chrome (Ubuntu 22.04, KDE Neon) #8247

Closed
sagrawal-code opened this issue Mar 15, 2023 · 6 comments
Closed
Labels
bug 🐛 Something doesn't work external dependency Blocked by external dependency, we can’t do anything about it

Comments

@sagrawal-code
Copy link

sagrawal-code commented Mar 15, 2023

Steps to reproduce 🕹

Link to live example: https://codesandbox.io/s/w4u5zi?file=/demo.tsx (Example from docs, https://mui.com/x/react-data-grid/)

Current behavior 😯

Here, the default hover style isn't visible in latest Chrome:

Screenshot_20230315_183319

But it is visible in Firefox:

Screenshot_20230315_183453

Expected behavior 🤔

Default hover style should be visible in Chrome, as it does in Firefox. I can customize the style for "& .MuiDataGrid-row.Mui-hovered" via sx, which then works in Chrome.

Context 🔦

No response

Your environment 🌎

npx @mui/envinfo
System:
    OS: Linux 5.19 KDE neon 5.27 5.27
  Binaries:
    Node: 18.15.0 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 9.5.0 - /usr/bin/npm
  Browsers:
    Chrome: 111.0.5563.64
    Firefox: 110.0.1
  npmPackages:
    @emotion/react: ^11.10.6 => 11.10.6 
    @emotion/styled: ^11.10.6 => 11.10.6 
    @mui/base:  5.0.0-alpha.121 
    @mui/core-downloads-tracker:  5.11.13 
    @mui/icons-material: ^5.11.11 => 5.11.11 
    @mui/material: ^5.11.13 => 5.11.13 
    @mui/private-theming:  5.11.13 
    @mui/styled-engine:  5.11.11 
    @mui/system:  5.11.13 
    @mui/types:  7.2.3 
    @mui/utils:  5.11.13 
    @mui/x-data-grid:  6.0.1 
    @mui/x-data-grid-generator: ^6.0.1 => 6.0.1 
    @mui/x-data-grid-premium:  6.0.1 
    @mui/x-data-grid-pro: ^6.0.1 => 6.0.1 
    @mui/x-license-pro:  6.0.1 
    @types/react: ^18.0.27 => 18.0.28 
    react: ^18.2.0 => 18.2.0 
    react-dom: ^18.2.0 => 18.2.0 
    typescript: ^4.9.3 => 4.9.5```
</details>


OS: 


Distributor ID:	Neon
Description:	KDE neon 5.27
Release:	22.04
Codename:	jammy

Order ID or Support key 💳 (optional)

No response

@sagrawal-code sagrawal-code added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Mar 15, 2023
@zannager zannager added component: data grid This is the name of the generic UI component, not the React module! plan: Pro Impact at least one Pro user labels Mar 16, 2023
@m4theushw
Copy link
Member

I can't reproduce the issue in Chrome. Could you share a video?

@m4theushw m4theushw added status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Mar 16, 2023
@sagrawal-idrc
Copy link

I can't reproduce the issue in Chrome. Could you share a video?

No hover styling visible in Chrome:

Untitled_.Mar.17.2023.7_56.AM.webm

Hover styling visible in Firefox:

screen-recorder-fri-mar-17-2023-07-59-26.webm

@m4theushw
Copy link
Member

@flaviendelangle I remember you used Linux. Can you reproduce this issue?

@flaviendelangle
Copy link
Member

Can't reproduce it on Ubuntu 22.04 Chrome Gnome

@sagrawal-code
Copy link
Author

Thanks for looking into this.

I investigated bit further and somehow my Chrome on Desktop Linux is reporting the hover media query to be none rather than hover and that seems to be the source of this issue.

image

I seem to be having the same issue as this commentator. However, I am unable to fix this.

Please feel free to close this issue.

@github-actions github-actions bot removed the status: waiting for author Issue with insufficient information label Mar 18, 2023
@oliviertassinari oliviertassinari added the external dependency Blocked by external dependency, we can’t do anything about it label Jan 10, 2024
@oliviertassinari
Copy link
Member

In #10039 (comment) I propose a different media query to accommodate mobile phones that return wrong values for these media queries, but looking at #8247 (comment), it won't make much differences.

I'm closing, it does look like an issue that should be fixed down the stack, and not in MUI X, e.g. https://bugs.chromium.org/p/chromium/issues/detail?id=441613#c8. Thanks for the report

@oliviertassinari oliviertassinari closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2024
@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work and removed plan: Pro Impact at least one Pro user component: data grid This is the name of the generic UI component, not the React module! labels Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work external dependency Blocked by external dependency, we can’t do anything about it
Projects
None yet
Development

No branches or pull requests

6 participants