You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.
Hi,
thanks for this light scroll library.
I was wondering how to get the scrollDireciton, to manipulate the header visibility in my case.
Also, I have a div with an overflow-y that does not work anymore when I enable the scroll, is this a bug or expected?
how to handle this case in your opinions?
thanks
The text was updated successfully, but these errors were encountered:
@chrisvidal I've added the ability to add a class to an element (like your overflow element) that will prevent ASScroll from scrolling the page. It's available in the latest version (1.7.5 - 69ecd83).
The default class to add is .asscroll-block but you can change this in the configuration options.
It essentially adds an event to the element which stops the wheel event from propagating. I wanted a seamless way of doing this without getting the user to add classes but the alternatives aren't efficient enough.
Hi,
thanks for this light scroll library.
I was wondering how to get the scrollDireciton, to manipulate the header visibility in my case.
Also, I have a div with an overflow-y that does not work anymore when I enable the scroll, is this a bug or expected?
how to handle this case in your opinions?
thanks
The text was updated successfully, but these errors were encountered: