ngSlimscroll icon indicating copy to clipboard operation
ngSlimscroll copied to clipboard

allowPageScrolling

Open jrynlds opened this issue 8 years ago • 4 comments

I believe in slimScroll there is an option for allowPageScrolling, so that when user gets to the end of the div scroll the page will begin to scroll.

Is there a way to get this behavior? Or a way to turn off the automatic scrolling of the div from the mouse wheel? (then the user would have to click and drag the scrollbar).

Thank you all for putting this together.

jrynlds avatar May 25 '16 01:05 jrynlds

I believe that you want to disable wheel scrolling, am I correct?

ykushch avatar May 25 '16 09:05 ykushch

that would work.

the other option would be, once div scrolling reached the end, the page would continue/begin to scroll.

jrynlds avatar May 25 '16 16:05 jrynlds

so this some kind of auto-scrolling till end?

ykushch avatar May 25 '16 16:05 ykushch

sorry, it seems I'm not clear in my description.

I have a page that has a div that is most of the page width which also has ngSlimScroll. When a users is scrolling down the page with the mouse, once they reach that div, the div scrolls (ngSlimScroll doing it's job), but they can no longer scroll the page... unless they find the edge of the page where the div does not reach, and then the control of scrolling returns to the page.

What I was hoping is that there would be an option (like in the original: allowPageScrolling) that would return control to the page scrolling once the div reached its end scrolling position.

Alternatively, I could have an option that disables wheel scrolling for the div, and then the page scrolling would always work, but the user would have to "click and drag" to scroll the div.

I think the first option is better, but I could live with the second.

jrynlds avatar May 25 '16 16:05 jrynlds