wp-calypso
wp-calypso copied to clipboard
CoBlocks: Masonry images overlap on mobile when device is rotated
Steps to reproduce
- On a Simple Site, create a post/page with Masonry Block, and add multiple images
- Open the page/post on mobile device
- Rotate device horizontally
- Rotate device back to vertical, and notice images are stacked.
What I expected
Images should be shown as they were before rotating the device.
What happened instead
Images are unnaturally stacked, overlapping with each other.
Screenshot / Video
By HC: https://d.pr/i/mqPIKO
I've also been able to reproduce this on my Simple test site. User site's theme: Mayland My site's theme: Exford
Context / Source
3208650-zen
Also reported on another site: 3313816-zen
I was able to replicate in Chrome's responsive mode, but it was either sporadic, or subject to caching.
- This is related to this ticket: https://github.com/godaddy-wordpress/coblocks/issues/1658
I also see this issue on 3459757-hc no matter the device orientation. Also commented on godaddy-wordpress/coblocks#1658
Got a similar issue (3470982-zen), reproduced on iPhone 8, XS. iPhone 11, was ok. Also happening on Android: Samsung 20, Pixel 4.
❌ iPhone8 | ❌ iPhone XS | ✅ iPhone 11 |
---|---|---|
![]() |
![]() |
![]() |
3670903-zen
Seems to be a jQuery Masonry issue: https://github.com/godaddy-wordpress/coblocks/issues/1658#issuecomment-806173647
3966802-zen
4060606-zd-woothemes Android 9
I was also able to reproduce the issue by simulating the mobile view (Pixel 4) in Google Chrome on Desktop.
Another report here: 28669812-hc
Another report in 5529157-hc
Support References
This comment is automatically generated. Please do not edit it.
- [ ] 3208650-zen
- [ ] 3313816-zen
- [ ] 3470982-zen
- [ ] 3670903-zen
- [ ] 3966802-zen
- [ ] 4060606-zen
It looks like the most recent attempt to fix this was from June of this year. We're waiting on an external repo update.