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

v-infinite-scroll loadMore function was called when in another component #121

Open
hoangtuan151 opened this issue Apr 22, 2019 · 0 comments · May be fixed by #155
Open

v-infinite-scroll loadMore function was called when in another component #121

hoangtuan151 opened this issue Apr 22, 2019 · 0 comments · May be fixed by #155

Comments

@hoangtuan151
Copy link

hoangtuan151 commented Apr 22, 2019

Thaks for your awesome work!

I'm using v-infinite-scroll in a component of the first tab, when I click route to second tab, and scroll to bottom, the "loadMore" function was called automatically.

What I expected here is that the "loadMore" function should be call only when scroll at the first route.

Here is my pen: https://codepen.io/hoangtuan/pen/YMjNmV

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

Successfully merging a pull request may close this issue.

1 participant