In the scenario of listening for a click even on particular content that is being scrolled, when calling pause() or stop() when "click" event received, delayed calls were not being killed and thus scrolling resumes. The delayed call in particular is from Draggable.onRelease.
Now ensuring the calculateProgress delayed function from Draggable.onRelease is being killed in pause() and stop()
pause()
orstop()
when "click" event received, delayed calls were not being killed and thus scrolling resumes. The delayed call in particular is fromDraggable.onRelease
.calculateProgress
delayed function fromDraggable.onRelease
is being killed inpause()
andstop()