We're using iscroll-probe with the probeType set to 3 meaning that a scroll event is fired whenever the slider is moved.
However, activating the handy keybindings option and moving the slider via keyboard doesn't emit any events whatsoever.
What's happening is: scrollTo is called with time = 0. That's why the if-condition is true leading to _translate being executed instead of _animate. _animate would emit events. _translate doesn't.
We're using
iscroll-probe
with theprobeType
set to3
meaning that a scroll event is fired whenever the slider is moved. However, activating the handykeybindings
option and moving the slider via keyboard doesn't emit any events whatsoever.What's happening is:
scrollTo
is called withtime = 0
. That's why theif
-condition is true leading to_translate
being executed instead of_animate
._animate
would emit events._translate
doesn't.https://github.com/cubiq/iscroll/blob/60ed6f8029b2e097a87399a2b3c688afd596980f/build/iscroll-probe.js#L861-L875