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

[XGrid] Column reorder glitches when dragging a cell with a link #1773

Closed
2 tasks done
jessq opened this issue May 26, 2021 · 1 comment
Closed
2 tasks done

[XGrid] Column reorder glitches when dragging a cell with a link #1773

jessq opened this issue May 26, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@jessq
Copy link

jessq commented May 26, 2021

Column reorder should only reorder when you drag the header cell. If a non-header cell has a link, and you drag that link, it triggers the column reorder and the table glitches.

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

Expected Behavior 🤔

Should not reorder columns

Steps to Reproduce 🕹

Go to the example in the documentation: https://material-ui.com/components/data-grid/columns/#column-reorder
Click and drag on the "Trader Email" column
Watch the table glitch around as the columns reorder

Context 🔦

Customers accidentally dragging columns when they just want to click on a cell and having a poor experience

Your Environment 🌎

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

Order id 💳

#22665

@jessq jessq added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 26, 2021
@jessq jessq changed the title [XGrid] Column reorder glitches when dragging a cell with a link. [XGrid] Column reorder glitches when dragging a cell with a link May 26, 2021
@oliviertassinari oliviertassinari added duplicate This issue or pull request already exists and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels May 26, 2021
@oliviertassinari
Copy link
Member

Duplicate of #1762

@oliviertassinari oliviertassinari marked this as a duplicate of #1762 May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants