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.
I’m fiddling around with your scroller (again). Is it possible to have multiple scroll areas? It would be nice to have separated and smoothly scrollable areas. My current tests always have some glitches.
This is something I have thought about adding before. It would be nice to have the option to create multiple instances and target multiple elements
But right now as you can see it would involve some really hacky methods in order to get this to work. The main issue is that ASScroll listens to wheel and scroll events on the window rather than the element you're scrolling, so it will scroll all instances at once. In theory this isn't too difficult to implement so I'll make this an enhancement and get round to it at some point!
The scrollbar should also be positioned correctly inside the scrollable element.
Hi @ashthornton
I’m fiddling around with your scroller (again). Is it possible to have multiple scroll areas? It would be nice to have separated and smoothly scrollable areas. My current tests always have some glitches.
Codepen: Multiple scroll areas (test 1: one scroller)
Codepen: Multiple scroll areas (test 2: multiple scrollers)
Any advice?
The text was updated successfully, but these errors were encountered: