You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
select on of the checkboxes on the left
=> no code snippet visible (the initial snippet is server-side-rendered and gets replaced with an amp-list when the config changes).
This is what the implementation looks like (simplified from amp.dev/boilerplate):
This is due to a change in #22227 that postpones rendering of amp-list triggered by [src] binding with local data from "immediate" to "layout". The problem is that "layout" won't happen if the element has a zero size.
In the boilerplate case, looks like amp-list#codeSnippet has a static height of 0.
As you mention, giving the amp-list a defined height fixes this issue but we should probably revert this behavior change since it may break other pages.
Related external reports: b/133433229, b/133355484
The release yesterday broke https://amp.dev/boilerplate/.
Steps to reproduce:
=> no code snippet visible (the initial snippet is server-side-rendered and gets replaced with an amp-list when the config changes).
This is what the implementation looks like (simplified from amp.dev/boilerplate):
Adding a dummy height binding
[height]="1"
fixes the problem.The text was updated successfully, but these errors were encountered: