Scroll gets stuck when a cell is selected

This issue has been tracked since 2023-02-06.

Describe the bug

When a cell is selected, it's not possible to scroll anymore within the data grid.

To Reproduce

  1. Select a cell
  2. Scroll down

Example:

      <DataGrid
        defaultColumnOptions={{
          sortable: true,
          resizable: true,
        }}
        className="fill-grid"
        rowKeyGetter={({ name }) => name}
        columns={columns}
        rows={filteredRows}
        selectedRows={selectedColumns}
        onSelectedRowsChange={handleRowSelect}
      />

Expected behavior

It should allow to scroll in data grid even when a cell is selected.

Environment

  • react-data-grid version: 7.0.0-beta.22
  • react/react-dom version: 18.2.0
More Details About Repo
Owner Name adazzle
Repo Name react-data-grid
Full Name adazzle/react-data-grid
Language TypeScript
Created Date 2015-03-06
Updated Date 2023-03-23
Star Count 5922
Watcher Count 129
Fork Count 2072
Issue Count 161

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date