Automattic / Automattic/jetpack
Feature Request: Close a gallery by clicking on the background
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### Impacted plugin
Jetpack
### What
Hi, Could you add the option to close a Jetpack gallery by clicking on the black/white background (depending on the settings) and not only on the little cross ? For example, like Woocommerce (with Strorefront theme) when we look a photo of a product. PS. Some users doesn't know that the key “Escape” can close a gallery (or a lightbox).
### How
_No response_
Contributor guide
Research direction
No files or tests are identified in the issue. Locate Jetpack's gallery or lightbox entry point and its existing close-button handling first, then verify that clicking the configured background closes the gallery without breaking image clicks or Escape-key behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php, wordpress
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100