If there are input elements that are children of the scrolling area, you should cancel the overflow scrolling, particularly for HTML range elements.
I added the following to start() to achieve this but there may be a better solution
// stop any drifts
flags.drifting = false;
// allow input focus
if (event.target.tagName=="INPUT" || event.target.tagName=="TEXTAREA") {
return;
}