title: Angular 2 scrollIntoView Not Scrolling
body: <p>I have a DIV with the id of <code>footerWrapperTop</code> in my HTML.</p>
  
  <p>I have the following TypeScript in my component: </p>
  
  <pre><code>  ngAfterViewInit(): void {
      try {
        this.sFragment = 'footerWrapperTop';
        const nativeElement = document.querySelector('#' + this.sFragment);
        nativeElement.scrollIntoView();
      } catch (e) { }   }
  </code></pre>
  
  <p>However the page does not scroll down to the footer at runtime. What am I doing wrong?</p>
  
  <p>If I <code>console.dir(nativeElement);</code> it shows the DIV in the console.</p>