palantir/blueprint

Table2 no longer interactive if column drag passed the first column position

Open

#5769 opened on Nov 23, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (20,263 stars) (2,167 forks)batch import
P1Package: tableType: bughelp wanted

Description

Environment

  • Package version(s): Table 4.7.7
  • Operating System: macOS Version 12.6.1
  • Browser name and version: Chrome Version 107.0.5304.110 (Official Build) (arm64)

Steps to reproduce

  1. Drag any column to reorder it to be the first column, but release the drag passed the first column position

Blueprint Documentation - drag passed first column breaks table.webm

Actual behavior

The table is stuck in column reorder mode and is no longer interactive.

Expected behavior

The select column becomes the first column, but more importantly, the table is still interactive.

Possible solution

If pointer-events: all; is removed from the invisible overlay (.bp4-table-reordering-cursor-overlay), the column does not move as expected, but the table remains interactive for the user.

Contributor guide