vue-infinite-loading icon indicating copy to clipboard operation
vue-infinite-loading copied to clipboard

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

Open nirmalraghavan opened this issue 7 years ago • 3 comments

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

nirmalraghavan avatar Feb 10 '19 08:02 nirmalraghavan

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

PeachScript avatar Mar 31 '19 15:03 PeachScript

And thanks for your detailed reporting ❤️

PeachScript avatar Mar 31 '19 15:03 PeachScript

2.4.5这个问题依然存在

ChangeZhang avatar Jun 29 '22 08:06 ChangeZhang