This repository has been archived by the owner on Mar 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
scrollEnd event fires twice if snap option is set to true #761
Comments
Seems to me like it's |
Seems that adding both snap and interactiveScrollbars causes the issue. Perhaps fire a different event for snap like 'snapEnd' . Unfortunately, I need both :-( |
Anyone have any pointers for a fix here? |
mcountis
added a commit
to mcountis/iscroll
that referenced
this issue
Sep 18, 2014
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.
Setting interactiveScrollbars to false still causes the issue, at least it does on that jsfiddle example. |
Still experiencing this issue. Is there a known fix/hack I can use? |
@Fanus I will check it |
iscroll fires two scrollEnd events when using mousewheel:true and snap:true options
|
I merged on master branch |
aisouard
pushed a commit
to Mappy/iscroll
that referenced
this issue
Feb 22, 2017
when using mousewheel:true and snap:true options Close cubiq#761
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
http://jsfiddle.net/ALgV3/
The text was updated successfully, but these errors were encountered: