Jul 25, 2017 · 1 min read
Thanks for your work, it is helping me a lot.
However, I find that this scrolling example is only valid for an app in which neither is a <router-outlet> nor the list to be scrolled over is inside other <div> (i.e., the list is right inside the <app-root>); otherwise, the element to capture scroll from would be window or document, since the list might be a fixed size and thus not scrolling itself.