Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display issue on mobile for Gallery block #15952

Open
CalumChilds opened this issue Jun 2, 2019 · 3 comments
Open

Display issue on mobile for Gallery block #15952

CalumChilds opened this issue Jun 2, 2019 · 3 comments
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Type] Plugin Interoperability Incompatibilities between a specific plugin and the block editor. Close with workaround notes.

Comments

@CalumChilds
Copy link

Describe the bug

  • Gallery block does not display properly on mobile: photos display in two columns which are blocked by the captions.

To reproduce
Steps to reproduce the behavior:

  1. Create a new page
  2. Add a Gallery block containing at least five photographs.
  3. Publish the page.
  4. View it on mobile in portrait mode.

Expected behavior
I expected the captions to be displayed below the photograph on mobile and the width of the columns to change to 100%.

Screenshots
There is a video which shows the problem: http://calumchilds.com/videos/gallery-block-issue.mp4
Smartphone (please complete the following information):

  • Device: iPod touch
  • OS: 12.1
  • Browser Firefox (problem also existed in Safari and Chrome)
  • Version: 15

Additional context

  • I am using the latest version of Gutenberg (5.8)
@swissspidy swissspidy added [Block] Gallery Affects the Gallery Block - used to display groups of images [Type] Plugin Interoperability Incompatibilities between a specific plugin and the block editor. Close with workaround notes. labels Jun 3, 2019
@swissspidy
Copy link
Member

Does this happen with other themes (e.g. Twenty Nineteen) as well?

@DeaFuriosa
Copy link

DeaFuriosa commented Jul 30, 2019

Hello,
this also happens on Fluida Plus Theme. You may see and try here (use mobile device or inspect tool to simulate mobile) (just scroll a little bit down):
https://www.over-the-hills.com/sustenstrasse-herrliche-gletscherausblicke/
This screenshot shows the issue (inspect tool, simulating iPhone X):
image
The caption overlaps the image almost completely, users aren't able to tab and zoom the images.

@stacimc
Copy link
Contributor

stacimc commented Nov 1, 2022

Confirmed this is still the behavior of gallery image captions on mobile, testing with Twenty Twenty Two. Maybe this is another good use case for the discussion here about adding a gallery block style to toggle off overlaid captions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Type] Plugin Interoperability Incompatibilities between a specific plugin and the block editor. Close with workaround notes.
Projects
None yet
Development

No branches or pull requests

4 participants