bughelp wanted
描述
Expected Behavior
- Items further down in the grid render when scrolling quickly
- Scroll position stays the same after scrolling down quickly
Actual Behavior
- Items further down in the grid do not render when scrolling quickly
- Scroll position jumps up after scrolling down quickly
URL, screen shot, or Codepen exhibiting the issue
Video of the bug: https://user-images.githubusercontent.com/22405692/138965354-ff1c0fd5-266b-46e0-ac42-b14663bb1b72.mov
Console error:
Codesandbox template that reproduces the issue: https://codesandbox.io/s/grid-infinite-scrolling-w-replace-m5x49?file=/src/App.js
Steps to Reproduce
- Wrap the
InfiniteScrollcomponent with aGrid - Add the
replaceprop toInfiniteScroll - In the app, verify that the scrolling experience is broken
Your Environment
- Grommet version: Latest
- Browser Name and version: Google Chrome Version 93.0.4577.63 (Official Build) (x86_64)
- Operating System and version (desktop or mobile): macOS Catalina Version 10.15.7