Skip to content

Inconsistent sort behavior within grouped subrows after unsort. #3251

@tearingItUp786

Description

@tearingItUp786

Describe the bug (required)
If you have a table that supports grouping + sorting, the unsorted state of the subrows is different depending on which columns you toggle sorting on.

Provide an example via Codesandbox! (required)
the example to reproduce the issue.

Steps To Reproduce (required)
Steps to reproduce the behavior:

  1. Go to sandbox
  2. Create a mental snapshot of how the subrows are ordered for "test" group.
  3. Click on the text inside of the "Last Name" column (be sure not to accidentally toggle grouping) until you have moved from sort ascending, sort descending, unsorted. You should have to click a total of 3 times.
  4. See error; the unsorted state of the "test" groups subrow should not match what you saw in step 2.

Expected behavior (Recommended)
The unsorted state of the subrows for a group should be consistent.

Screenshots
Will get these to you if there's any issues with my instructions!

Desktop (please complete the following information):

  • OS: MacOS Version 10.13.6 (17G14042)
  • Browser: Chrome
  • Version 88.0.4324.96 (Official Build) (x86_64)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions