palantir/blueprint

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

開放

#5,769 建立於 2022年11月23日

 (2 則留言) (0 個反應) (0 位負責人)TypeScript (2,167 個分叉)batch import
P1Package: tableType: bughelp wanted

倉庫指標

星標
 (20,263 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南