smoothscroll-for-websites
smoothscroll-for-websites copied to clipboard
Scrolling focus change to new element is too slow
Here is a demo,u can try to scroll DIV then dcoument scroll disable
https://jsfiddle.net/feipigzi/k89upa3s/
@zhenyong It's not disabled. It detects in which space mouse and scroll it. Just move your mouse.
@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:
- move your cursor there
- stop scrolling for a bit to stop this scrolling session
- 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).
@galambalazs You are right. Really looking forward to your improvement.
Is there any simple configuration to change focus more quickly and smoothly ?
@zhenyong https://github.com/galambalazs/smoothscroll-for-websites/wiki