Automattic / Automattic/jetpack
Carousel: horizontal zoom doesn't work when viewing a single image
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### Impacted plugin
Jetpack
### Quick summary
When have only one image in the gallery and use carousel, if you make zoom, you no van move the image or zoom the corners. Only centered zoom.
If you have more than one image, the zoom work well.
See video below for an example.
Another request, change the color of the circle when load the carousel gallery, for example black instead of white, or copy the color of the theme gallery
### Steps to reproduce
Use carousel gallery
Make one gallery with one image
Make one gallery with 2 or more images
Use the carousel gallery and make zoom in the 2 galleries for note the difference
### A clear and concise description of what you expected to happen.
I hope move the image and zoom to tne corners, not just center
### What actually happened
Now if have only one image in the gallery, you only can make zoom to the center
And the circle when load, if your page is white, you no can watch the load circle (only troughthe text)
### Impact
All
### Available workarounds?
No and the platform is unusable
### Platform (Simple and/or Atomic)
_No response_
### Logs or notes
_No response_
Contributor guide
Research direction
Start by reproducing the carousel behavior with one image and then with multiple images, comparing zoom movement and corner access. Also check the loading indicator on a white page; done means single-image zoom behaves like multi-image zoom and the loading circle remains visible against the page background.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wordpress
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100