react-data-grid icon indicating copy to clipboard operation
react-data-grid copied to clipboard

Scrolls Upward When Reordering or Resizing Column

Open holospice18 opened this issue 2 years ago • 2 comments

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

  1. Resizable column like https://adazzle.github.io/react-data-grid/#/animation or reordering https://adazzle.github.io/react-data-grid/#/columns-reordering
  2. Scroll down
  3. Select any cell
  4. Resize or reorder column

Expected behavior

Environment

  • react-data-grid version: ^7.0.0-beta.36 and ^7.0.0-beta.40
  • react/react-dom version: ^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 avatar Oct 11 '23 02:10 holospice18

@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 avatar Mar 03 '24 06:03 DharanBro

@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

holospice18 avatar Mar 04 '24 00:03 holospice18