title: Cypress click is not scrolling into view
body: <p>There is site built in <em>Vue/Nuxt</em> and has <em>SSR</em> and has links in the footer. </p>
  
  <p>Making test the link is found, link is visible and <code>click()</code> says that <em>link is not in the view</em>.</p>
  
  <p>After the click failing the link is scrolled to the view.</p>
  
  <p>What can cause the view not to be scrolled into the view?</p>
  
  <pre><code>        it('About us page', () =&gt; {
              cy.visit('https://test.fooddocs.ee');
              cy.url().should('include', 'https://test.fooddocs.ee');
              cy.get('footer.page-footer').within(() =&gt; {
                  cy.get('a')
                      .contains('About us')
                      .should('be.visible')
                      .should('have.attr', 'href', '/about')
                      .click();
              });
              cy.url().should('include', siteUrl + '/about');
              cy.get('main h1').should('contain', 'Our team');
          });
  </code></pre>
  
  
  
  <p><a href="https://i.stack.imgur.com/FyHdV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FyHdV.png" alt="Test screenshot"></a></p>