Open curtiskeller opened 1 month ago
Hi,
We were using the destroyScroller and setup methods to reset the scroller based on external factors. Is there a new method to call to reset the scroller in a similar manner?
@ViewChild('scrollerRef', { static: true, read: InfiniteScrollDirective }) private _infiniteScrollDirective!: InfiniteScrollDirective; private resetScroller() { this._infiniteScrollDirective.destroyScroller(); this._infiniteScrollDirective.setup(); this._scrollerRefEl.nativeElement.scrollTop = 0; }
Thanks
Hi,
We were using the destroyScroller and setup methods to reset the scroller based on external factors. Is there a new method to call to reset the scroller in a similar manner?
Thanks