Skip to content

[amp-carousel] scroll gets stuck with janky stick-to-current slide effect if next image is not laid out #15822

@cathyxz

Description

@cathyxz

Repros about 25% of the time, possibly with higher probability on bad internet and large images. This is a Chrome-only bug.

Example page:
https://www-dailymail-co-uk.cdn.ampproject.org/v/www.dailymail.co.uk/tvshowbiz/article-5794903/amp/Eamonn-Holmes-awarded-OBE-Queen-Elizabeth-dedicating-40-years-broadcasting.html?amp_js_v=0.1#ampshare=http%3A%2F%2Fwww.dailymail.co.uk%2Ftvshowbiz%2Farticle-5794903%2FEamonn-Holmes-awarded-OBE-Queen-Elizabeth-dedicating-40-years-broadcasting.html

Repro steps:
(Do NOT scroll through article, preferably next image in carousel is not loaded.)

  1. Click on the hero image to open carousel in lightbox.
  2. Swipe left to scroll to next slide slowly and keep your finger on the screen.
  3. Observe that while finger is on the screen and moving (during swipe), the image moves but immediately snaps back and does so continuously.

Sometimes repros on amp-lightbox-gallery as well, esp if the images are large.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions