ampproject / ampproject/amphtml
<amp-list> resize not Working
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I am building a site https://askmeoffers.com/
On the home page, we have a feature where users can search for merchant reviews they want
but I am not able to find a way via which I can dynamically resize amp-list data and display the rendered real-time data in a dynamically resized window.
Steps to reproduce:
1) Visit: https://askmeoffers.com/
2) Try to type amazon under ( Search Store Review field)
3) For now I have restricted results to 1 from DB query but results can be n-numbers
4) now I want to dynamically resize search result based on user query
Please guide me on how to to do this in AMP
I am attaching an image where we have to query

Sample what we used is here https://github.com/ampproject/amphtml/issues/33363
@calebcordry @niallkennedy @niallkennedy
@niallkennedy
@dmanek
@caroqliu
@nainar
@caroqliu
Please guide us and help us as its blocking our development
Thanks
Team - askmeoffers.com
Contributor guide
Research direction
Reproduce the behavior on the askmeoffers.com home page by typing “amazon” into the Search Store Review field and inspect the amp-list behavior with multiple results. Read the related sample in issue #33363; done means the rendered search results resize dynamically to fit the returned data.
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
- 25/100