ngx-virtual-scroller
ngx-virtual-scroller copied to clipboard
Virtual Scroll not reaching the end
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.
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;
}
If you're able to come up with a permanent fix, please submit a pull request. Thanks!