Skip to content

[Latest Posts Block] Gallery block not displaying properly on the page #88833

@rw-ye

Description

@rw-ye

Quick summary

When displaying full posts in the Latest Posts Block, posts with a Gallery block do not display properly and appear stacked on the page.

This is how the Gallery block is displayed in the Latest posts block

Screenshot 2024-03-24 at 12 15 37 PM

How the Gallery block is displayed on the actual post

Screenshot 2024-03-24 at 12 11 30 PM

Steps to reproduce

  1. Create a new post
  2. Add a Gallery Block to the post with multiple images (2 or more)
  3. Publish the post
  4. Create a new page
  5. Add the Latest Posts Block to the page.
  6. In the Latest Posts block settings, enable Post content and select Full Post under Show
  7. View the page on the front-end and the gallery images will show stacked

What you expected to happen

For the Gallery block to display properly across the page, as it does on the post

What actually happened

The Gallery block is stacked

Impact

Most (> 50%)

Available workarounds?

Yes, easy to implement

Platform (Simple and/or Atomic)

Simple, Atomic

Logs or notes

The workaround is to use the Query Loop Block instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Customer ReportIssues or PRs that were reported via Happiness. Previously known as "Happiness Request".GroundskeepingIssues handled through Dotcom Groundskeeping rotations[Feature Group] Editor ExperienceFeatures related to Gutenberg integration on WordPress.com.[Feature] Core BlocksBlocks that come with Gutenberg.[Platform] Atomic[Platform] Simple[Pri] NormalSchedule for the next available opportuinity.[Product] WordPress.comAll features accessible on and related to WordPress.com.[Type] BugWhen a feature is broken and / or not performing as intended

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions