By default, all images expand on click, but some images, like icons, don't need to expand on click.
To address this issue, we can utilize the image block setting 'Expand on click.' According to the settings from the backend, we can make it work on the frontend.
The default 'Expand on click' option in the image block is disabled. We need to enable it by default. If a user explicitly disables it, then only should it be disabled.
Reference: slack thread
—
This toggle comes from the native lightbox. We could investigate if it has a hook or another way to adjust our lightbox based on this setting.
- is triggering
-
PLANET-7510 Investigate native lightbox implementation
- CLOSED