Automattic / Automattic/jetpack

Slideshow block shows extra space below the block on Safari browser on mobile

Open
#37,919 6 comments 0 reactions 0 assignees View on GitHub
[Block] Slideshow [Focus] Blocks [Platform] Atomic [Plugin] Jetpack [Pri] Low Bug Customer Report [LEGACY] Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### Quick summary

When viewing the post with a Slideshow block from Safari browser on mobile, there is an extra gap below the slideshow image.
When viewing from a desktop Safari browser, it shows the gap, but once all the assets are loaded, the gap disappears.
We're not able to replicate the issue on other browsers, this is only occurring on Safari browser.
The user has cleared the cache on the mobile browser but still the issue persists. Checked on staging site as well and the issue was replicated there too.

User ticket: 8320193-zd-a8c

### Steps to reproduce

1. Open Safari browser (if possible open in incognito) on mobile browser (Safari)
2. Visit https://staging-bdb8-dangitbee.wpcomstaging.com/2024/06/10/boundaries-the-meadows-06-05-2024/
3. Scroll down and find the slideshow under `KAONASHI` section.
4. the first few images when scrolled through shows an extra gap at the bottom.

Screencast video:
https://github.com/Automattic/jetpack/assets/7382505/fc5c8036-3cab-420d-b4db-77b0defe4efe

### A clear and concise description of what you expected to happen.

No gap should be shown under the slideshow block on any browsers/devices.
Like on Chrome browser (mobile):
![Screenshot_2024-06-18-12-04-33-08_40deb401b9ffe8e1df2f1cc5ba480b12](https://github.com/Automattic/jetpack/assets/7382505/75e27908-a69f-4680-a4eb-35a4a437332c)

### What actually happened

There is a gap showing on the Safari browser on mobile device.

### Impact

One

### Available workarounds?

There is no user impact

### Platform (Simple and/or Atomic)

Atomic

### Logs or notes

Browser: Safari

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue on the staging URL in mobile Safari, scrolling to the Slideshow under the KAONASHI section and checking the first images. Then locate the Jetpack Slideshow block implementation and compare its layout while assets load in Safari and Chrome; done means no extra gap appears on Safari mobile or desktop after loading.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.