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

Infinite scroll logic does not fire on browser resize.

Open pulekies opened this issue 7 years ago • 1 comments

Infinite scroll logic should fire when the browser resizes.

How to repro:

  1. Open the infinite scrolling page when the browser height is very small.
  2. Resize the browser to make it much taller.

Expected: The infinite scroll logic fires and more items are loaded.

Actual: Infinite scroll logic does not fire, no more items are loaded. Attempting to scroll does nothing since there is no scrollbar (there isn't enough content yet to need one).

pulekies avatar Oct 06 '17 20:10 pulekies

Fix should be easy and include listening to window resize, using throttle the scroll event uses.

soanvig avatar Oct 27 '17 11:10 soanvig