Skip to content

Rendering issues with amp-imgs in amp-sidebar toolbars #14244

@KorvinSzanto

Description

@KorvinSzanto

What's the issue?

amp-imgs within amp-sidebar toolbars get duplicate i-amphtml-sizer elements

How do we reproduce the issue?

I've set up a POC on jsbin, you can make this happen on your own by doing the following:

  1. Create a amp-sidebar element with an included nav toolbar that targets an element in the page
  2. Add an amp-img underneath that toolbar
  3. View the rendered amp-img

You'll notice that there are two i-amphtml-sizers being added, causing the amp-img to be double the intended height

What browsers are affected?

Confirmed in:

  • Chrome
  • Firefox
  • Safari
  • Edge 16
  • IE 11
  • Chrome for Android

Which AMP version is affected?

Tested on 1521658019509

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions