We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description 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: https://www.ampproject.org/docs/reference/components/amp-lightbox#animate-in-(optional)
How to demo
Example
<button on="tap:demo-lb.open">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> </amp-lightbox>
The text was updated successfully, but these errors were encountered:
@p2er I can replicate this issue.
We'll need to update the 'attr_spec_list for amp-lightbox in AMP_Allowed_Tags_Generated
'attr_spec_list
amp-lightbox
AMP_Allowed_Tags_Generated
https://github.com/Automattic/amp-wp/blob/677b7617ffb47094dab04f76e91dafb57e67ad0c/includes/sanitizers/class-amp-allowed-tags-generated.php#L2264-L2286
While in there, we should also check the attributes to the spec for amp-image-lightbox.
amp-image-lightbox
Sorry, something went wrong.
This will be resolved by #1315. We just need to finish it out.
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.
No branches or pull requests
Description
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: https://www.ampproject.org/docs/reference/components/amp-lightbox#animate-in-(optional)
How to demo
Example
The text was updated successfully, but these errors were encountered: