palantir/blueprint

`eachUniqueFullRow` crashes with header row shift-click

Closed

#6,383 opened on Sep 15, 2023

 (1 comment) (0 reactions) (0 assignees)TypeScript (2,167 forks)batch import
P2Package: tableType: bughelp wanted

Repository metrics

Stars
 (20,263 stars)
PR merge metrics
 (Avg merge 43d 10h) (27 merged PRs in 30d)

Description

Environment

  • Package version(s): 5.3.0
  • Operating System: MacOS
  • Browser name and version: Chrome 117

Steps to reproduce

  1. Pass a region of { row: [1, Infinity] } to eachUniqueFullRow (this can be caused for example by shift-clicking on a row header cell + using eachUniqueFullRow in the onSelect.

Actual behavior

Spins until tab crashes

Expected behavior

Short circuit or error

Contributor guide