palantir/blueprint
Vedi su GitHubEditableCell2 doesn't rerender to empty cell on sort.
Open
#6602 aperta il 13 dic 2023
Package: tableStatus: needs proposalType: bughelp wanted
Metriche repository
- Star
- (20.263 star)
- Metriche merge PR
- (Merge medio 24g 18h) (17 PR mergiate in 30 g)
Descrizione
Environment
- Package version(s): "@blueprintjs/core": "^5.5.1", "@blueprintjs/table": "^5.0.20",
- Operating System: Windows 11
- Browser name and version: Firefox 120.0.1 (64 bit), Chrome 120.0.6099.71 (64 bit)
Code Sandbox
Steps to reproduce
- Create some table data with some
undefinedvalues. - Create a sortable Table2 whose cells are EditableCell2.
- Sort columns with
undefinedcells. When a cell value changes from some value toundefined, it does not re-render to a blank cell.
Actual behavior
EditableCell2 does not re-render when its value changes from some value to undefined.
Expected behavior
The cell re-renders into a blank cell whenver the value changes to undefined.
Possible solution
.