palantir/blueprint

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

Open

#5,769 创建于 2022年11月23日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)TypeScript (20,263 star) (2,167 fork)batch import
P1Package: tableType: bughelp wanted

描述

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.

贡献者指南