palantir/blueprint
View on GitHub`Table2` column header does not re-render correctly on size change
Open
#5,936 opened on Feb 10, 2023
P2Package: tableType: bughelp wanted
Repository metrics
- Stars
- (20,263 stars)
- PR merge metrics
- (Avg merge 43d 10h) (27 merged PRs in 30d)
Description
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