mui-x
mui-x copied to clipboard
[XGrid] Column reorder glitches when dragging a cell with a link
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.
- [x] The issue is present in the latest release.
- [x] 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
Duplicate of #1762