title: page seems to scroll when link clicked at the bottom of the page
body: <p>whenever I click an anchor element it's being scrolled to the top of the page in various browsers such as firefox, safari, and IE. But the page is not scrolled in chrome. Used various approaches such as preventDefault(), return false and also using "#/" in href. But none of them seems to work. It would be great if someone could help me with this issue.
  Followed all the approaches mentioned in this page:
  <a href="https://stackoverflow.com/questions/3252730/how-to-prevent-a-click-on-a-link-from-jumping-to-top-of-page">How to prevent a click on a &#39;#&#39; link from jumping to top of page?</a> .</p>
  
  <p>Here is my code</p>
  
  <pre><code>function Scrolldown() {
    window.location.hash = "#relationships-card";
  }
  
  const attachLink = (onClick, relationship, maybeId) =&gt; (
    &lt;a
      href="#relationship-card"
      aria-label="Attach Relationship"
      className="hidden-print"
      onClick={() =&gt; {
        onClick(relationship, maybeId);
        Scrolldown();
      }}
    &gt;
      &amp;nbsp;Attach
    &lt;/a&gt;
  );
  </code></pre>