Skip to content

List view: Horizontal scrollbar in site editor #65696

Closed

Description

@jameskoster
scroll.mp4

Looks like it might be caused by template part blocks, but I'm not sure.

To replicate

  • Edit a page in the Site Editor
  • Ensure 'Show template' option is enabled
  • Switch to Design mode (if not already)
  • Open List view
  • Observe horizontal scrollbar

Activity

  1. added
    [Type] Bug
    [Feature] List View
    on Sep 27, 2024
  2. t-hamano commented on Sep 27, 2024

    @t-hamano
    Contributor

    I have identified this issue as occurring in #65485.

    When editing a page in the site editor, the ellipsis button is not displayed and the cell (.block-editor-list-view-block__menu-cell) width is 24px:

    no-elipsis

    If there is an ellipsis button, the cell width will be 28px, which is the expected width:

    image

    This 4px difference is what is causing the overflow.

    This issue can be fixed with CSS, but I'm not sure if not displaying the ellipsis button in the first place is correct behavior.

    Before #65485, it was displayed as follows:

    image

    cc @youknowriad

  3. t-hamano commented on Sep 27, 2024

    @t-hamano
    Contributor

    #65485 will not ship in WP6.7, which means this issue should not occur in WP 6.7, so I will remove it from the project board.

  4. jameskoster commented on Sep 27, 2024

    @jameskoster
    ContributorAuthor

    Thanks for the sleuthing!

  5. ntsekouras commented on Sep 22, 2026

    @ntsekouras
    Contributor

    I can't see this on trunk any more. The List View panel in the site editor has no horizontal scrollbar in the page or template views. I think the List View spacing changes in #69201 took care of it. Feel free to reopen if you still see it.

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

    [Feature] List View[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions