react-data-grid
react-data-grid copied to clipboard
Scrolls Upward When Reordering or Resizing Column
Describe the bug
On Firefox when resizing or reordering column while scroll is further down it scrolls up as if scroll bar's up arrow is clicked.
To Reproduce
- Resizable column like https://adazzle.github.io/react-data-grid/#/animation or reordering https://adazzle.github.io/react-data-grid/#/columns-reordering
- Scroll down
- Select any cell
- Resize or reorder column
Expected behavior
Environment
-
react-data-gridversion: ^7.0.0-beta.36 and ^7.0.0-beta.40 -
react/react-domversion: ^18.2.0 - Windows 10
- Firefox 118.0.2 (64-bit)
Additional context
Only happens when grid body is focused then resize or reorder column header
@holospice18 Is this still happening? I don't see this happening with the current demo page. https://adazzle.github.io/react-data-grid/#/animation
@DharanBro No, it was fixed on https://adazzle.github.io/react-data-grid/#/animation but still persist on https://adazzle.github.io/react-data-grid/#/columns-reordering