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

[data grid] The right 1/4 of the "Select all rows" Checkbox is not clickable #13132

Open
TonyBrobston opened this issue May 14, 2024 · 2 comments · May be fixed by #13326
Open

[data grid] The right 1/4 of the "Select all rows" Checkbox is not clickable #13132

TonyBrobston opened this issue May 14, 2024 · 2 comments · May be fixed by #13326
Labels
accessibility a11y bug 🐛 Something doesn't work support: pro standard Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/

Comments

@TonyBrobston
Copy link

TonyBrobston commented May 14, 2024

Steps to reproduce

Link to live example: https://mui.com/x/react-data-grid/

Steps:

  1. Go to any MUI DataGrid with checkboxSelection enabled.
  2. Hover the "Select all rows" checkbox in the top left of the DataGrid, in the same row as the column titles.
  3. Observe that when you hover slightly outside the checkbox to the top, left, or bottom, you get cursor pointer (the hand icon) and are able to click.
  4. Observe that when you hover slightly outside the checkbox to the right, you do NOT get the cursor pointer (the hand icon) and you are NOT able to click.
  5. Observe that all other checkboxes in the first column are hoverable and clickable to each side of the checkbox.

Current behavior

When I hover the right 1/4 of the checkbox area (checkbox + the area around it), it is not clickable and does not show cursor pointer.

Expected behavior

If I hover slightly outside the checkbox to right I should see cursor pointer (the hand icon) and be able to click the checkbox.

Context

We are trying to produce the best user experience that we can. If one checkbox allows you to click slightly outside of the checkbox, in the checkbox area (I'm not sure what you call this), then it seems that all checkboxes should have the same behavior.

Your environment

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

Search keywords: data grid select all rows checkbox not clickable
Order ID: 80452

@TonyBrobston TonyBrobston added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 14, 2024
@michelengelen michelengelen added bug 🐛 Something doesn't work accessibility a11y support: pro standard Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/ and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels May 15, 2024
@michelengelen michelengelen changed the title DataGrid - The right 1/4 of the "Select all rows" Checkbox is not clickable [data grid] The right 1/4 of the "Select all rows" Checkbox is not clickable May 15, 2024
@michelengelen
Copy link
Member

Thanks for raising an issue @TonyBrobston
I guess this comes from the separator bounding box overlapping the clickable area of the checkbox in the header column.

Screenshot 2024-05-15 at 12 24 26

I will add this to the board for the team to have a look.

@TonyBrobston
Copy link
Author

@michelengelen Thanks for the reply.

@oukunan oukunan linked a pull request May 31, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility a11y bug 🐛 Something doesn't work support: pro standard Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants