-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
feature: ReorderingRelated to the data grid Reordering featureRelated to the data grid Reordering featurescope: data gridChanges related to the data grid.Changes related to the data grid.type: expected behaviorThe current behavior is already the one expected.The current behavior is already the one expected.
Description
Steps to reproduce
See video of this reproducible on the first demo in the column reordering documentation:
Column.reordering.issue.mov
Steps:
- Open this link to live example: https://mui.com/x/react-data-grid/column-ordering
- Drag and drop the first column a few columns to the right
- Hover the dragged column above the new desired location, such that the drag preview shows up in the right location.
- Drop the column a little above, to the right, or to the left of the new desired position, but in a way such that the drag preview still still shows up in the new desired position (see attached video)
Current behavior
The dragged column does not get reordered to the location indicated by the drag preview, but instead flies back to its original location.
Expected behavior
The dragged column gets reordered to the location indicated by the drag preview.
Context
Have a smooth UX for column reordering, such that if the drag preview is showing the column in a new location, dropping the column at that point will always result in the column being successfully reordered to that new location.
Your environment
N/A - this is reproducible on the first demo in the column reordering documentation (see attached video under Steps to Reproduce)
Search keywords: DataGrid column reordering drag drop
Metadata
Metadata
Assignees
Labels
feature: ReorderingRelated to the data grid Reordering featureRelated to the data grid Reordering featurescope: data gridChanges related to the data grid.Changes related to the data grid.type: expected behaviorThe current behavior is already the one expected.The current behavior is already the one expected.