amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

`amp-fx` does not work in `amp-list`

Open aghassemi opened this issue 8 years ago • 3 comments

reported by @mofid on slack channel.

Issue is sanitizer removing the attribute. There may also be other issues (e.g. amp-fx-collection needing to rescan)

aghassemi avatar Jul 18 '18 00:07 aghassemi

adding to fixit bucket

aghassemi avatar Jul 18 '18 00:07 aghassemi

Some more context from the Slack thread:

hi
i have an amp-list with bunch of div inside and i like to use amp-fx on those divs. the problem is that the amp-list deletes amp-fx tag from the divs automatically and inserts amp-fx-roll instead 
how can i fix that?

nainar avatar Jul 19 '18 17:07 nainar

first of all thanks for working on amp-fx to sync with amp-list but i have a big problem. when i have amp-fx inside amp-list in a normal html it works just fine. html link but as i include this html page in a .net project everything breaks apart. although i can see the tag inside the page source, they are being deleted in the developer tools and therefore the amp-fx functionality is not working anymore cshtml link

mofidsky avatar Aug 18 '18 08:08 mofidsky