Skip to content

Added offset calculation for carousel when allowWrap = false#510

Open
beaubbe wants to merge 1 commit into
malsup:masterfrom
beaubbe:master
Open

Added offset calculation for carousel when allowWrap = false#510
beaubbe wants to merge 1 commit into
malsup:masterfrom
beaubbe:master

Conversation

@beaubbe

@beaubbe beaubbe commented May 6, 2014

Copy link
Copy Markdown

There was no offset calculation for carousel when allowWrap = false. On resize, the offset was always 0.

@leaski

leaski commented Dec 16, 2016

Copy link
Copy Markdown

Massive help for dealing with resizing causing the carousel to go back to the first slide.

The only problem I had with the code for me was that the active class was using the slideActiveClass default of 'cycle-slide-active' instead of 'active'

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.

2 participants