You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above CodeSandbox link click a checkbox in the table.
Notice that the table row highlights but the Checkbox stays unchecked.
Click the checkbox again and now it finally re-renders in checked state.
Actual behavior
The cellRenderer function for the checkbox Column is not being called upon state change of which rows are selected. This causes the checkbox and the row highlight to become out of sync.
EDIT: It appears that if I set the data limit to 10 records the bug goes away and works as I intended. If it's anything higher than 10 the bug reappears.
EDIT 2: Setting the renderMode to NONE also seems to fix the bug. But, I lose performance with large data sets.
Expected behavior
I expect the checkboxes to be in sync with the row highlight. The checkbox should require one click to toggle the selected state of the row.
Possible solution
I don't have a solution.
The text was updated successfully, but these errors were encountered:
Environment
If possible, link to a minimal repro: https://codesandbox.io/s/blueprint-interactive-cell-checkbox-bug-8vnlk?fontsize=14&hidenavigation=1&theme=dark
Steps to reproduce
Actual behavior
The cellRenderer function for the checkbox Column is not being called upon state change of which rows are selected. This causes the checkbox and the row highlight to become out of sync.
EDIT: It appears that if I set the data limit to 10 records the bug goes away and works as I intended. If it's anything higher than 10 the bug reappears.
EDIT 2: Setting the renderMode to NONE also seems to fix the bug. But, I lose performance with large data sets.
Expected behavior
I expect the checkboxes to be in sync with the row highlight. The checkbox should require one click to toggle the selected state of the row.
Possible solution
I don't have a solution.
The text was updated successfully, but these errors were encountered: