ngx-virtual-scroller icon indicating copy to clipboard operation
ngx-virtual-scroller copied to clipboard

Virtual Scroll not reaching the end

Open u3gt6o8 opened this issue 6 years ago • 2 comments

Hi,

When using css style overscroll-behavior: none (or contain) virtual scroll on mobile chrome does not reach the end of the last item. Any help would be much appreciated.

u3gt6o8 avatar Nov 03 '19 11:11 u3gt6o8

Not too sure if this was the same issue I had, but changing max-height: 100vh; to 0px; seems to fix the issue where the size of the "virtual area" is bigger than the size of the data. This is more apparent when the viewport is offset from 0

.scrollable-content {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 0px;  <------------------------------------
  position: absolute;
}

spitefulgod avatar Feb 19 '20 13:02 spitefulgod

If you're able to come up with a permanent fix, please submit a pull request. Thanks!

speige avatar Mar 24 '20 20:03 speige