Automattic / Automattic/jetpack
Images in Gallery Blocks remain clickable when settings set to "Link to None"
- 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
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