Skip to content

Event "infinite" called twice when in tabs and scroll position is not 0 #228

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

Open
nirmalraghavan opened this issue Feb 10, 2019 · 3 comments
Labels

Comments

@nirmalraghavan
Copy link

Version

latest

Vue.js version

2.5.17

Reproduction Link

https://codepen.io/anon/pen/NoYrwx?editors=1111

Steps to reproduce

  1. When in Tab 1, scroll to bottom a little.
  2. From that scroll position switch to Tab 3.

What is Expected?

Event 'infinite' will trigger only once

What is actually happening?

Event 'inifinte' called twice and axios fetched same results twice

@PeachScript
Copy link
Owner

Hi @nirmalraghavan , sorry for late. This problem should be fixed in the v2.4.4, you can try it now.

@PeachScript
Copy link
Owner

And thanks for your detailed reporting ❤️

@ChangeZhang
Copy link

2.4.5这个问题依然存在

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

3 participants