styleguide icon indicating copy to clipboard operation
styleguide copied to clipboard

[Table] Bulk row selection on filtered data

Open ericreis opened this issue 5 years ago • 0 comments

Describe the bug When we select table rows of a filtered table and then remove the filter, the selected rows change.

As of this moment the table is selecting its data based on the row number showing on the screen. When we use filters (pagination, also) that "row number" changes causing the bug.

To Reproduce Steps to reproduce the behavior:

  1. Go to a table that has filters and bulk actions turned on
  2. Execute a filter that changes the position of any row in the table
  3. Select that row
  4. Clear the filter (or change it in a way that the selected row "moves")
  5. See that the selected row changes.

Expected behavior Maintain the originally selected row.

Screenshots Oct-03-2019 15-15-23

Additional context The solution for this could (and should?) be extended to pagination.

ericreis avatar Oct 03 '19 18:10 ericreis