Comcast / Comcast/react-data-grid

Scrolls Upward When Reordering or Resizing Column

Open
#3,360 2 comments 0 reactions 0 assignees View on GitHub
Will Accept PR
Dominant language
TypeScript
Stars
7.7k
Forks
2.2k
Avg merge
1d 2h
Merged PRs (30d)
33

Description

## 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.