Amphtml: amp-live-list not loading amp-img

Created on 24 Apr 2017  路  22Comments  路  Source: ampproject/amphtml

What's the issue?

amp-img is not loading images when inside at amp-live-list, unless you resize your window.

How do we reproduce the issue?

  1. Open amp-live-list AMP Playground example
    1.1 If image is visible, reload the page.

  2. Add amp-accordion component, and the problem is fixed.

What browsers are affected?

Google Chrome 57 (desktop)

Which AMP version is affected?

AMP Version: 1492571781980

When Possible Stale Bug components

Most helpful comment

I've discovered that an amp-img element _outside_ the amp-live-list but on the same page will fix the error. So that's a workaround if this is affecting you in production: insert a transparent 1x1 PNG somewhere else on the page.

All 22 comments

I'm seeing this behavior as well with amp-twitter components inside an amp-live-list.

With amp-instagram and amp-youtube inside amp-live-list, the image loads, but none of the chrome for the component loads. Then when the browser window is resized, events fire and everything looks and works correctly.

I've discovered that an amp-img element _outside_ the amp-live-list but on the same page will fix the error. So that's a workaround if this is affecting you in production: insert a transparent 1x1 PNG somewhere else on the page.

@luigi as a workaround I am adding amp-accordion component in my live pages.

looking into it

anyone got another live example besides ampbyexample?

I don't know if it's the same bug, but in this pages, If I remove the amp-accordion component, amp-iframe are not loaded, unless I resize the screen (see bug page).

@gustavopaes thanks so much for that. currently out of town but will prioritize this asap!

@erwinmombay is this still a P1?

This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates?

This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates?

An example of this bug in the wild.

Images missing from <amp-live-list> with embedded <amp-twitter> (other examples on the same page):

amp theguardian com__world_live_2017_oct_01_catalan-independence-referendum-spain-catalonia-vote-live nexus 5x

(From https://amp.theguardian.com//world/live/2017/oct/01/catalan-independence-referendum-spain-catalonia-vote-live.)

Expected to look something like this (the equivalent non-AMP):

www theguardian com_world_live_2017_oct_01_catalan-independence-referendum-spain-catalonia-vote-live nexus 5x

(From https://www.theguardian.com/world/live/2017/oct/01/catalan-independence-referendum-spain-catalonia-vote-live.)

/cc @sebastianbenz

This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates?

This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates?

This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates?

This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates?

This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates?

This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates?

This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates?

This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates?

This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings