Closed benedetto-kotzaneck closed 4 years ago
@BenJanaka yeah, something is wrong with scrollToIndex
method but scrollToOffset
should work.
In my case, there is a bug when I have scrollToOffset
but without smooth
option - sticky header is not at the top of the table.
Fixed in 1.3.2
I want to trigger the scroll of the CdkVirtualScrollViewport by calling scrollToIndex.
Expected behaviour:
Actually nothing happens.
Worked around the issue by using the scrollBy function of the viewport nativeElement. But still, the issue remains.