Skip to content

Support interacting with iframe-based AMP components #19213

@newmuis

Description

@newmuis

Any AMP component that is backed by an iframe can be supported in stories by rendering a tooltip when clicked (#16521), and opening the component in a fully-interactive mode, in a lightbox, when the tooltip is clicked.

screen shot 2018-11-09 at 2 59 20 pm

Elements should have a default (overridable) margin, then transition when the tooltip is clicked to be shown in the lightbox, maintaining their aspect ratio, and filling the shortest dimension (i.e. letterboxed).

screen shot 2018-11-09 at 3 09 30 pm

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions