Skip to content

[EuiDataGrid] Can't reorder columns with DnD while the data grid is scrolled down #8572

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

Open
weronikaolejniczak opened this issue Apr 9, 2025 · 0 comments

Comments

@weronikaolejniczak
Copy link
Contributor

One way of reordering the columns is through drag and drop. While EuiDataGrid is scrolled down, the drag and drop method no longer works, instead it scrolls to the top of the data grid.

430434543-7ed74975-d890-4056-9cf2-9205871c6d6e.mp4

Steps to reproduce:

  1. Access the Codesandbox.
  2. Set the "page per rows" to 50.
  3. Scroll down in the data grid.
  4. Start dragging any column to reorder it.

Current behavior:
The dragging starts scrolling the data grid and dropping doesn't reorder the columns.

Expected behavior:
Even when scrolled down, I can reorder the columns using drag and drop and the dragging won't cause the data grid to scroll up.

@weronikaolejniczak weronikaolejniczak changed the title [EuiDataGrid] Cannot move columns while the data grid is scrolled down [EuiDataGrid] Cannot reorder columns with DnD while the data grid is scrolled down Apr 9, 2025
@weronikaolejniczak weronikaolejniczak changed the title [EuiDataGrid] Cannot reorder columns with DnD while the data grid is scrolled down [EuiDataGrid] Can't reorder columns with DnD while the data grid is scrolled down Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant