vue-infinite-loading
vue-infinite-loading copied to clipboard
Event "infinite" called twice when in tabs and scroll position is not 0
Version
latest
Vue.js version
2.5.17
Reproduction Link
https://codepen.io/anon/pen/NoYrwx?editors=1111
Steps to reproduce
- When in Tab 1, scroll to bottom a little.
- 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
Hi @nirmalraghavan , sorry for late. This problem should be fixed in the v2.4.4, you can try it now.
And thanks for your detailed reporting ❤️
2.4.5这个问题依然存在