title: React-router-dom Link open at the top of page
body: <p>So I am feeling pretty dum to ask this but cannot find a straight answer to it.</p>
  
  <p>Do I need to give any css parameter or directly to <code>&lt;Link&gt;</code> in order for the pages on my react app open at the top? </p>
  
  <p><strong>EDIT</strong>
  So refraining, everytime I click on a <code>&lt;Link&gt;</code>element at my reactJs project, the Link opens a page at the middle of the screen, not a the top.</p>
  
  <p>For example. I have this component </p>
  
  <pre><code> &lt;li &gt;&lt;Link to={{pathname: "/product", state: {products}}}&gt;&lt;i className="fa fa-search"&gt;&lt;/i&gt;&lt;/Link&gt;&lt;/li&gt;
  </code></pre>
  
  <p>and when I click on in, it opens a new page/component but not at the top of the page. The user needs to scroll up in order to see the top, and i would like to open new pages directly at the top!</p>