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

The 3 dots "kebab" icon is too close to the column divider. Accessibility/ user experience issue #4192

Closed
2 tasks done
Utkarshk7 opened this issue Mar 14, 2022 · 2 comments
Closed
2 tasks done
Labels
accessibility a11y component: data grid This is the name of the generic UI component, not the React module! new feature New feature or request plan: Pro Impact at least one Pro user

Comments

@Utkarshk7
Copy link

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

The 3 dots "kebab" icon is too close to the column divider. As a result, even if we place the cursor exactly on the three dots, it is not clickable.

We have to precisely move cursor to the left and then click on it.

End users have reported this as accessibility/user experience issue. Do we have any fix for this please?

Expected behavior 🤔

When we place cursor on the 3 dots "kebab" icon, it should always be clickable.

Steps to reproduce 🕹

Steps:

  1. Use Datagrid Pro
  2. Click on 3 dots "kebab" icon
  3. It is not always clickable
  4. Move the cursor to the left/right carefully to see where it is clickable. Then only it works

Context 🔦

No response

Your environment 🌎

`npx @mui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Order ID 💳 (optional)

#39429

@Utkarshk7 Utkarshk7 added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Mar 14, 2022
@cherniavskii cherniavskii added accessibility a11y component: data grid This is the name of the generic UI component, not the React module! new feature New feature or request plan: Pro Impact at least one Pro user and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Mar 15, 2022
@cherniavskii
Copy link
Member

As a workaround, you can do this for now:

<DataGridPro
  sx={{
    [`& .${gridClasses.menuIconButton}`]: {
      marginRight: "8px"
    }
  }}
/>

Here's working demo: https://codesandbox.io/s/columnsizinggrid-material-demo-forked-y1qxfx?file=/demo.tsx:399-508

@Utkarshk7
Copy link
Author

Thanks! This helped ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility a11y component: data grid This is the name of the generic UI component, not the React module! new feature New feature or request plan: Pro Impact at least one Pro user
Projects
None yet
Development

No branches or pull requests

2 participants