ampproject / ampproject/amphtml

CSS layout causes amp-iframe reload loop

Open
#33,579 1 comment 0 reactions 0 assignees View on GitHub
P1: High Priority Type: Bug WG: components
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

Since yesterday's AMP release, all amp-iframe based code examples on amp.dev are stuck in a reload loop. Example: https://amp.dev/documentation/components/amp-accordion/. There were no changes to amp.dev which might have caused this.

Here is a minimal example to reproduce: https://forest-spark-school.glitch.me/original.html.

Update: fixed link to repro case

Contributor guide

Open the contributing guide

Research direction

Start with the amp.dev amp-accordion example and the linked minimal reproduction, then compare amp-iframe behavior before and after the AMP release, focusing on the CSS layout involved. Done means amp-iframe examples no longer enter a reload loop in the reproduction and on amp.dev.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.