Skip to content

Template part editing may not be possible if the preview mode cannot be changed. #73769

Closed

Description

@shimotmk

Description

Template part editing may not be possible if the preview mode cannot be changed.

Sometimes the lower part of the footer cannot be edited due to a lack of scrolling functionality.

The following seem related:

Step-by-step reproduction instructions

  1. Navigate to the Site Editor.
  2. Change the preview mode to tablet or mobile.
  3. Click the "Edit" button for the template part.
  4. The view changes to the canvas editor. When in mobile view, the bottom portion may not be editable.

Screenshots, screen recording, code snippet

canvas.mp4

Environment info

  • WordPress 6.9
  • gutenberg-branch=trunk

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

Activity

  1. added
    [Type] Bug
    [Block] Template Part
    on Dec 4, 2025
  2. added theissue type on Dec 4, 2025
  3. t-hamano commented on Dec 5, 2025

    @t-hamano
    Contributor

    Nice catch! This issue also occurs in the synced pattern editor:

    You should probably temporarily reset the device type when moving to the syncerd pattern editor or template part editor, otherwise the resize handles won't work properly.

    dcedc8c5d3c6684a4150a7033cf8ab10.mp4
  4. added
    [Feature] Synced Patterns
    on Dec 5, 2025
  5. added
    [Status] In Progress
    on Jun 4, 2026
  6. youknowriad commented on Sep 29, 2026

    @youknowriad
    Contributor

    Re-tested on trunk: after switching a template to the Mobile or Tablet preview, opening a template part or synced pattern editor now resets to Desktop, so the canvas isn't stuck narrow. Since #81750, each entity opens at its own width. Closing as fixed.

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

    [Block] Template Part[Feature] Synced Patterns[Status] In Progress[Type] Bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions