Automattic / Automattic/jetpack

Images in Gallery Blocks remain clickable when settings set to "Link to None"

Open
#28,030 10 comments 0 reactions 0 assignees View on GitHub
[Feature] Carousel [Platform] Atomic [Platform] Simple [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

#### Steps to reproduce
1. Add new post or page
2. Add Gallery Block
3. Add images to block
4. In Gallery Settings under Link To, select None
5. Preview or Publish

#### What I expected
Images in gallery should not be clickable and not provide a lightbox carousel

#### What happened instead
When an image is clicked on, a lightbox carousel for all images appear

#### Browser / OS version
Tested on Chrome 77 / OS X 10.14.6

#### Screenshot / Video
Video: https://cld.wthms.co/64MMX2

#### Context / Source
Issue first seen in 15520887-hc

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a WordPress Gallery Block and the Gallery Settings Link To option set to None, then trace the Gallery Block and lightbox behavior. Confirm how the block renders its images and identify the relevant frontend tests or entry point. Done means images are not clickable and no lightbox carousel opens when Link To is None.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, react, wordpress
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.