Closed
Description
This is never unsubscribed
fromEvent(viewportEl, 'scroll')
// Sample the scroll stream at every animation frame. This way if there are multiple
// scroll events in the same frame we only need to recheck our layout once.
.pipe(sampleTime(0, animationFrameScheduler))
.subscribe(() => this._scrollStrategy.onContentScrolled());
Metadata
Metadata
Assignees
Labels
No labels