Skip to content

DataViews flickers when clicking filter button #71672

@t-hamano

Description

@t-hamano

Description

If the current DataView has a default filter and you click the filter button, nothing happens, but the DataViews flickers.

I suspect that this problem is related to #71075, which introduced locked filters.

cc @oandregal @chihsuan

Step-by-step reproduction instructions

  • Go to Appearance > Editor > Patterns. This screen is the easiest to see the problem.
  • Click the filter button.

Screenshots, screen recording, code snippet

c3040c03a40058d770e1d5de23ec4cbc.mp4

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[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions