-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Experiment: Add zoom and animation toggle for image lightbox #51055
Copy link
Copy link
Closed
Labels
[Block] ImageAffects the Image BlockAffects the Image Block[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Feature] Interactivity APIAPI to add frontend interactivity to blocks.API to add frontend interactivity to blocks.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
What problem does this address?
This builds on the image lightbox experiment using the Interactivity API, introduced in #50373, and is related to #49972 and #50029.
Some users prefer the effect of a zoom animation for the lightbox over a fade animation. Ideally, users would be able to select the animation they prefer.
What is your proposed solution?
Add support for a zoom animation to the lightbox, as well as a toggle for the behaviors UI, allowing users to select their preference when the lightbox is enabled for a particular block.
Initial explorations by @SantosGuillamot in the videos below and in this branch.
These explorations are originally from a comment in the initial PR.
Desktop
239522890-21e9aa36-3352-4b9c-9d06-50fdc821e205.mp4
Mobile
239522971-099fb143-1ab2-462e-9add-086cb032a6ff.mp4
Explanation
Lightbox.Zoom.mp4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Block] ImageAffects the Image BlockAffects the Image Block[Feature] Block APIAPI that allows to express the block paradigm.API that allows to express the block paradigm.[Feature] Interactivity APIAPI to add frontend interactivity to blocks.API to add frontend interactivity to blocks.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Fields
Give feedbackNo fields configured for issues without a type.