coblocks icon indicating copy to clipboard operation
coblocks copied to clipboard

ISBAT see Masonry Gallery Images be displayed in one column in mobile view.

Open ScKoDEV opened this issue 6 years ago • 2 comments

Describe the bug:

The Masonry Gallery displays images in mobile view on iOS overlapped or all in one row and not in full height.

To reproduce:

  1. Create a new empty page
  2. Create a Group Block
  3. Create inside the Group Block the Masonry Gallery with some images
  4. Publish and visit the page in mobile view on an iOS device or with iOS in Browserstack

Expected behavior:

For smartphones, the masonry gallery should be displayed in one column. The images shouldn't overlap.

Screenshots:

Screenshot which shows the issue: https://d.pr/i/aly2Nf

Isolating the problem:

  • [x] This bug happens with no other plugins activated
  • [ ] This bug happens with a default WordPress theme active
  • [ ] This bug happens without the Gutenberg plugin active
  • [ ] I can reproduce this bug consistently using the steps above

WordPress version:

5.4.2

Gutenberg version:

8.2.1

ScKoDEV avatar Jun 16 '20 12:06 ScKoDEV

The problem is from the Masonry library that we are using. Values for the absolute positioning are sometimes wrong. We are using the latest version (4.2.2) that is 3 years old now ...

jlemay-godaddy avatar Oct 05 '21 16:10 jlemay-godaddy

Thank you for contributing. I am closing this issue and linking back to a primary issue regarding refactoring of the Masonry gallery block where we plan to address this ask. https://github.com/godaddy-wordpress/coblocks/issues/2078

AnthonyLedesma avatar Oct 12 '21 17:10 AnthonyLedesma