title: window.scrollTo has no effect
body: <p>I am having an animation which enlages a card inside a list. It's basically a "fullscreen" animtion. Anyway, everything works so far. The only missing piece is scrolling the list item to the corrent position.</p>
  
  <p>For this I am getting the y-offset of the host element and call <code>window.scrollTo()</code> but it has no effect: </p>
  
  <pre class="lang-js prettyprint-override"><code>animationDone(event) {
    window.scrollTo(0, this.host.nativeElement.getBoundingClientRect().top);
  }
  </code></pre>
  
  <p>So, I am not very well educated on this topic but I do not know which element in the DOM <code>window</code> actually represents or how <code>scrollTo</code> is managed (if this is delegated to the scrollable <code>div</code> of the current page).</p>
  
  <p>Here is a small example of how the page looks like:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;!-- The scrollable content container --&gt;
  &lt;div class="content-container"&gt;
  
     &lt;!-- The list items --&gt;
  
     &lt;div *ngFor="let element of elements&gt;
        &lt;div [@fullscreenAnimation] (@fullscreenAnimation)="animationDone($event)"&gt;
            &lt;list-card [data]="element"&gt;&lt;/list-card&gt;
        &lt;/div&gt;
     &lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>