Skip to content

Make scrollable-carousel functional#4331

Merged
muxin merged 2 commits intoampproject:masterfrom
muxin:scrollable-carousel
Aug 4, 2016
Merged

Make scrollable-carousel functional#4331
muxin merged 2 commits intoampproject:masterfrom
muxin:scrollable-carousel

Conversation

@muxin
Copy link
Copy Markdown
Contributor

@muxin muxin commented Aug 2, 2016

  • Make carousel container overflow-x: auto
  • Use scroll event listener
  • Use scrollLeft as the current position
  • Update resource loading when scrolling is slow
  • Remove the touch event listeners

@muxin
Copy link
Copy Markdown
Contributor Author

muxin commented Aug 2, 2016

#4231

@muxin muxin force-pushed the scrollable-carousel branch 2 times, most recently from db118ac to ad2a33e Compare August 2, 2016 23:00
@muxin muxin force-pushed the scrollable-carousel branch from ad2a33e to 510faa1 Compare August 3, 2016 01:59
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use timerFor

@muxin muxin force-pushed the scrollable-carousel branch from 510faa1 to 47c655e Compare August 3, 2016 18:01
@muxin muxin force-pushed the scrollable-carousel branch from 47c655e to 2e21299 Compare August 3, 2016 23:30
@dvoytenko
Copy link
Copy Markdown
Contributor

LGTM

@muxin muxin merged commit 99f32d7 into ampproject:master Aug 4, 2016
@muxin muxin deleted the scrollable-carousel branch August 4, 2016 18:06
ariangibson pushed a commit to Mixpo/amphtml that referenced this pull request Sep 7, 2016
mityaha pushed a commit to brightcove-archive/ooyala_amphtml that referenced this pull request Nov 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants