react-cool-virtual
react-cool-virtual copied to clipboard
If you scroll quickly to the end of the list of items in the Infinite Scroll, it does not load the data
Bug Report
Describe the Bug
If you scroll quickly to the end of the list of items in the Infinite Scroll, it does not load the data, you have to scroll a bit for it to load correctly.
How to Reproduce
The Infinite Scroll example shows the bug.
- Go to https://codesandbox.io/s/rcv-infinite-scroll-forked-wuov0v
- Once the demo loads, scroll directly to the end of the first list (Skeleton) and the "Loading..." messages will remain and the data will not be loaded.
CodeSandbox Link
Show me the bug on CodeSandbox.
Expected Behavior
The data should be loaded.
Screenshots
https://i.gyazo.com/742f0acfb10847bb684c1d9a5288ff38.mp4
Your Environment
- Device: PC
- OS: Windows 10
- Browser: Chome
- Version: 106.0.5249.119