amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

amp-live-list not loading amp-img

Open gustavopaes opened this issue 9 years ago • 22 comments

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

gustavopaes avatar Apr 24 '17 17:04 gustavopaes

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.

luigi avatar Apr 28 '17 01:04 luigi

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 avatar Apr 28 '17 01:04 luigi

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

gustavopaes avatar Apr 28 '17 14:04 gustavopaes

looking into it

erwinmombay avatar Apr 28 '17 17:04 erwinmombay

anyone got another live example besides ampbyexample?

erwinmombay avatar Apr 28 '17 17:04 erwinmombay

@erwinmombay yes, this one https://entretenimento.uol.com.br/ao-vivo/2017/02/26/amp-live-list-bug.htm

With the workaround: https://entretenimento.uol.com.br/ao-vivo/2017/02/26/oscar-2017.amp.htm

gustavopaes avatar Apr 28 '17 17:04 gustavopaes

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 avatar May 02 '17 13:05 gustavopaes

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

erwinmombay avatar May 05 '17 21:05 erwinmombay

@erwinmombay is this still a P1?

adelinamart avatar Jun 07 '17 20:06 adelinamart

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

ampprojectbot avatar Oct 19 '17 23:10 ampprojectbot

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

ampprojectbot avatar Nov 06 '17 22:11 ampprojectbot

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

ithinkihaveacat avatar Nov 21 '17 10:11 ithinkihaveacat

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

ampprojectbot avatar Dec 12 '17 02:12 ampprojectbot

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

ampprojectbot avatar Jan 01 '18 22:01 ampprojectbot

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

ampprojectbot avatar Jan 22 '18 22:01 ampprojectbot

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

ampprojectbot avatar Feb 12 '18 22:02 ampprojectbot

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

ampprojectbot avatar Jun 05 '18 15:06 ampprojectbot

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

ampprojectbot avatar Sep 11 '18 14:09 ampprojectbot

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

ampprojectbot avatar Oct 16 '18 11:10 ampprojectbot

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

ampprojectbot avatar Nov 08 '18 04:11 ampprojectbot