Skip to content

Fixed: next can only be pressed once and not while scrolling; fixes #48#49

Open
aforty wants to merge 1 commit intoFuYaoDe:masterfrom
aforty:fix-next-press-while-scrolling
Open

Fixed: next can only be pressed once and not while scrolling; fixes #48#49
aforty wants to merge 1 commit intoFuYaoDe:masterfrom
aforty:fix-next-press-while-scrolling

Conversation

@aforty
Copy link

@aforty aforty commented Nov 4, 2016

Issue #48 describes how the slides would get "stuck" when the next button was pressed too quickly in succession. This was because it would attempt to slide "next" while in a half-state.

This fixes the issue by keeping track of the scrolling position internally as opposed to relying on Swiper's internal isScrolling state which appears often to be wrong or lagging.

@aforty
Copy link
Author

aforty commented Nov 22, 2016

Any movement on this? Not having my app be stuck would be helpful.

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.

1 participant

Comments