palantir/blueprint
`Table2` column header does not re-render correctly on size change
オープン
#5,936 opened on 2023/02/10
P2Package: tableType: bughelp wanted
Repository metrics
- Stars
- (20,263 個のスター)
- PR merge metrics
- (平均マージ 43d 10h) (30d で 27 merged PRs)
説明
Code Sandbox
Link to a minimal repro (fork this code sandbox): https://codesandbox.io/s/gallant-tree-hch623?file=/src/index.tsx
Steps to reproduce
- create a basic
Table2withcolumnHeaderCellRendererthat changes its height depending on some state - update state and observe that the header size is not re-rendered correctly
(even if the dependency's added to the cellRendererDependencies prop)
Actual behavior
Columns header changes its height, but does not reposition any other row or columns.
Expected behavior
Should reposition all cells / headers upon size change.
Possible solution
TBD