Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amp lightbox animate-in attribute removed by sanitizer #1330

p2er opened this issue Aug 9, 2018 · 3 comments

amp lightbox animate-in attribute removed by sanitizer #1330

p2er opened this issue Aug 9, 2018 · 3 comments


Copy link

@p2er p2er commented Aug 9, 2018

Optional attribute animate-in is being removed from amp-lightbox and therefore does not allow animation configuration for lightbox even though included in the official documentation:

How to demo

  • Add lightbox to page template
  • Create page
  • Open AMP version of page
  • IS: animate-in attribute has been removed
  • SHOULD: still have animate-in attribute in page MARKUP


<button on="">open</button>
<amp-lightbox id="demo-lb" layout="nodisplay" scrollable animate-in="fly-in-top">
<button on="tap:demo-lb.close">close</button>
<p>This lightbox should animate into viewport from top.</p>
@hellofromtonya hellofromtonya added this to the v1.0 milestone Aug 9, 2018
Copy link

@hellofromtonya hellofromtonya commented Aug 9, 2018

@p2er I can replicate this issue.

We'll need to update the 'attr_spec_list for amp-lightbox in AMP_Allowed_Tags_Generated

While in there, we should also check the attributes to the spec for amp-image-lightbox.

Copy link

@westonruter westonruter commented Aug 9, 2018

This will be resolved by #1315. We just need to finish it out.

@hellofromtonya hellofromtonya added this to In progress in v1.0 Aug 9, 2018
@westonruter westonruter moved this from In progress to Ready for QA in v1.0 Aug 23, 2018
Copy link

@kienstra kienstra commented Sep 18, 2018

Moving To 'Ready For Merging'

If it's alright, I'm moving this to 'Ready For Merging,' as I don't think it needs functional testing. Feel free to move it back.

@kienstra kienstra moved this from Ready for QA to Ready for Merging in v1.0 Sep 18, 2018
@kienstra kienstra moved this from Ready for Merging to In Production in v1.0 Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
No open projects
In Production
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants