Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allowPageScrolling #22

Open
jrynlds opened this issue May 25, 2016 · 4 comments
Open

allowPageScrolling #22

jrynlds opened this issue May 25, 2016 · 4 comments
Labels

Comments

@jrynlds
Copy link

jrynlds commented May 25, 2016

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.

@ykushch
Copy link
Collaborator

ykushch commented May 25, 2016

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

@jrynlds
Copy link
Author

jrynlds commented May 25, 2016

that would work.

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

@ykushch
Copy link
Collaborator

ykushch commented May 25, 2016

so this some kind of auto-scrolling till end?

@jrynlds
Copy link
Author

jrynlds commented May 25, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants