-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Bug Report
Steps to Reproduce:
Reproducible via hosted example at https://perspective-dev.github.io/
- In the viewer on the datagrid plugin, add enough columns to require horizontal scrolling (easily achievable with expression columns)
- Scroll to the right
- Click on the right most column header to order by it. Data in the grid will do a sort of jump
- Scrolling back to the left and trying to order by columns on the left by clicking on the headers is impossible
- Can recover from this state by ordering on columns somewhere in the middle or using the configuration panel
Cannot click on the "chg (-)" column header in this image after following steps 1-3

Expected Result:
Clicking on datagrid column headers should always cycle order by for that column
Actual Result:
After getting in broken state: cannot order by some column headers. Clicking on left-side column headers after scrolling has no effect on sort order.
Environment:
- Browser: Chrome 143.0.7499.110 (Official Build) (arm64)
- OS: macOS Sequoia 15.6.1
- Chip: Apple M2 Pro
@perspective-dev/clientversion: (using hosted example at perspective-dev.github.io)
Additional Context:
Bug is reproducible on the official hosted demo. The issue appears to be related to horizontal scroll position affecting click detection on column headers. After sorting by a column on the far right, the click targets for column headers on the left side of the grid seem to be offset or unresponsive.
Metadata
Metadata
Assignees
Labels
No labels