Skip to content

DataViews: Selection does not persist across pages #71269

Description

@talldan

Description

When DataViews is paginated, selection doesn't persist across multiple pages.

Observed in #70971

Step-by-step reproduction instructions

  1. Open the storybook story for DataViews
  2. Select some item on the first page of dataviews (click the checkbox to ensure you multiselect)
  3. Go to the second page and select some more items using the checkbox
  4. Go back to the first page

Expected: The items selected in step 2 remain selected
Actual: The items selected in step 2 are now deselected

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyond[Package] DataViews/packages/dataviews[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions