Skip to content

Deleting template or template part causes screen flash in Site Editor #37926

Closed

Description

@annezazu

Description

When deleting a template or template part, the screen flashes upon deletion. It's a bit jarring of an experience!

Step-by-step reproduction instructions

  1. Create a new template from the Site Editor.
  2. Head to the template list and delete it.
  3. See the flash on the screen.

Screenshots, screen recording, code snippet

Screen.Recording.2022-01-12.at.12.04.21.PM.mov

Environment info

  • WordPress 5.9 RC2
  • No GB
  • TT2
  • Chrome
  • MacOS

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

Activity

  1. added
    [Type] Bug
    [Feature] Site Editor
    [Block] Template Part
    on Jan 12, 2022
  2. annezazu commented on Feb 7, 2022

    @annezazu
    ContributorAuthor

    This still happens in 5.9.

  3. youknowriad commented on Feb 24, 2023

    @youknowriad
    Contributor

    This happens probably because the request is retriggered. It's easy enough to keep the list visible but I guess we should show some feedback that the request is in progress. Might need some design here.

  4. added
    Good First Issue
    on Feb 24, 2023
  5. added
    [Status] In Progress
    on Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First Issue[Block] Template Part[Feature] Site Editor[Status] In Progress[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions