ampproject / ampproject/amphtml

amp-carousel continuous strip mode misaligned

Open
#39,470 1 comment 0 reactions 0 assignees View on GitHub
Stale Type: Bug
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

### Description

amp-carousel will not correctly align the image after switching the image.

### Reproduction Steps

https://playground.amp.dev/?url=https%3A%2F%2Fpreview.amp.dev%2Fdocumentation%2Fexamples%2Fcomponents%2Famp-carousel&_gl=1*x1ad74*_ga*YW1wLXR5eHllUVNEOUpCbFVIUUI5ZlhlUEE.&preview=true

Click the buttons on the first carousel, and the image becomes misaligned. It can be reproduced on any browser in AMP prod.

### Relevant Logs

_No response_

### Browser(s) Affected

_No response_

### OS(s) Affected

_No response_

### Device(s) Affected

_No response_

### AMP Version Affected

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the amp-carousel implementation and reproduce the issue using the AMP Playground URL in the report. Click the buttons on the first carousel in continuous strip mode and trace the image position after switching; done means the image remains correctly aligned across repeated switches in AMP production.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.