smoothscroll-for-websites icon indicating copy to clipboard operation
smoothscroll-for-websites copied to clipboard

Scrolling focus change to new element is too slow

Open zhenyong opened this issue 10 years ago • 4 comments

Here is a demo,u can try to scroll DIV then dcoument scroll disable

https://jsfiddle.net/feipigzi/k89upa3s/

zhenyong avatar Oct 19 '15 13:10 zhenyong

@zhenyong It's not disabled. It detects in which space mouse and scroll it. Just move your mouse.

TrySound avatar Oct 19 '15 13:10 TrySound

@TrySound is correct.

Yes currently scrolling is session based. Meaning if you start scrolling in one element, that element will be the scrolling focus as long as you keep turning your mouse wheel.

If you want to switch to a different element, you have to:

  1. move your cursor there
  2. stop scrolling for a bit to stop this scrolling session
  3. start scrolling again to start a new session, now with the new element in focus

Maybe the timing for focus change could be tweaked to be faster (right now it heavily depends on the animation duration setting).

gblazex avatar Oct 19 '15 13:10 gblazex

@galambalazs You are right. Really looking forward to your improvement.

Is there any simple configuration to change focus more quickly and smoothly ?

zhenyong avatar Oct 20 '15 08:10 zhenyong

@zhenyong https://github.com/galambalazs/smoothscroll-for-websites/wiki

TrySound avatar Oct 20 '15 08:10 TrySound