Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[table] selecting/deselecting programmatically causes all select checkboxes to re-render #411

Open
DRiFTy17 opened this issue Oct 18, 2023 · 0 comments
Labels

Comments

@DRiFTy17
Copy link
Collaborator

Describe the bug:
When programmatically selecting/deselecting rows via the table component API methods, existing selected rows are re-rendering the selection column checkboxes. This causes a "flicker" for checked checkboxes from their unchecked state to the checked state.

To Reproduce:
Steps to reproduce the behavior:

  1. Select a few rows in the table
  2. Manually call the selectRow() method on the table with row of data (or one of the other selection APIs)
  3. Observe that the existing selections are re-rendered incorrectly.

Expected behavior:
Existing selected/deselected rows should be unaffected by selections from other rows, or programmatic select/deselect. Only the specific row(s) that are affected should update their selection state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant