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

Option to disable scrolling of parent container if at bottom of scroll #47

Open
ventralnet opened this issue Jul 22, 2019 · 1 comment

Comments

@ventralnet
Copy link

I have an infinite scrolling type component that utilizes vue2-scrollbar. Using the onMaxScroll hook, when I get to the max scroll I issue an ajax call for more data. The issue arises if the ajax call takes a bit to return the body will start handling the scroll events and move.

Can an option be added to stopPropagation for the scroll events so the body doesn't scroll?

@ventralnet
Copy link
Author

In the meantime I am using
https://github.com/rhyek/vue-prevent-parent-scroll

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

No branches or pull requests

1 participant