Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Fix scrollEnd event from double firing #797

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mcountis
Copy link

#761

On wheelscroll the scrollEnd event was firing twice. Once from _transitionEnd (core.js) and once from a timeout in _wheel (wheel.js).

Placed a check in _transitionEnd to only fire scrollEnd event if _wheel's scrollEnd event is already set to execute.

cubiq#761

On wheelscroll the scrollEnd event was firing twice. Once from _transitionEnd (core.js) and once from a timeout in _wheel (wheel.js).

Placed a check in _transitionEnd to only fire scrollEnd event if _wheel's scrollEnd event is already set to execute.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant