amp-list with dynamic height
问题 I'm using amp-list and I would like to have a dynamic height based on the results that I got. There is a way to do it? I couldn't get it done. <amp-list src="request-url"> <template type="amp-mustache" id="amp-template-id"> ... </template> </amp-list> All the available layouts requires dimensions at the amp-list level or parent level. However I don't want to specify an height. My results can either have 1 or 12 items. 回答1: There is no dynamic layout in AMP (this is to avoid reflow while the