paper-leaf / alton

Alton is a jQuery-powered scrolling plugin, with a twist.
http://paper-leaf.com/alton-jquery-scroll-jacking-plugin/
217 stars 34 forks source link

Excessive delay on scroll #5

Closed paper-leaf closed 9 years ago

paper-leaf commented 9 years ago

On Certain Devices, (Macbooks, devices with inertia scroll etc), delay will not cease until user has full stopped scrolling for .5s.

Pointed out by a few users on Reddit

ntan97 commented 9 years ago

Status Update:

We have been working hard on all the feedback we've received.

We currently have a new version undergoing testing at the moment, that should improve scrolling response on all devices. No release date at the moment but it is coming.

I will update this thread when the update is live.

paper-leaf commented 9 years ago

We've implemented a fix for this in the lates 1.1.0 release. Here's a couple notes:

Basically what happened is that we’re trying to re-enable the scrolling as soon as the user has stopped scrolling. The only problem is that on devices with inertia scroll the events we use to detect this don’t stop. They can’t even be reset, or stopped as it’s an input that is taken care of by the OS. We’ve managed to reduce the delay to the point that you need to be scrolling through them very quickly, without consuming any content in order to trigger this. Though it’s not a perfect solution we feel this is a much needed improvement, that will help everyone create better user experiences.