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-accordion: Animated accordions containing images distort the image on collapse and don't animate on open #20272

Closed
andrewwatterson opened this issue Jan 11, 2019 · 0 comments
Assignees
Milestone

Comments

@andrewwatterson
Copy link
Contributor

andrewwatterson commented Jan 11, 2019

1

https://ampbyexample.com/components/amp-accordion/

In the "Animated Accordions" section:

  1. Click "Section 2" to expand
  2. Click "Section 2" to collapse
    Expected: Bottom border of section progressively covers image content until section is fully collapsed
    Actual: Image aspect ratio changes to fill new section size, making image distorted and looking terrible.

Observed on Chrome 71 and AMP 1901021931380.

2

https://ampbyexample.com/components/amp-accordion/

In the "Animated Accordions" section:

Click "Section 2"
Expected: Section 2 smoothly animates open like Sections 1 and 3 do
Actual: Section 2 snaps open after a perceivable pause
Observed on Chrome 71 and AMP 1901021931380.

@aghassemi aghassemi self-assigned this Jan 14, 2019
@aghassemi aghassemi changed the title amp-accordion: Animated accordions containing images distort the image on collapse amp-accordion: Animated accordions containing images distort the image on collapse and don't animate on open Jan 17, 2019
@ampprojectbot ampprojectbot added this to the Backlog Bugs milestone Jan 24, 2019
@sparhami sparhami assigned sparhami and unassigned aghassemi Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants