title: Can you open a pdf in a new browser tab without setting Content-Disposition from backend
body: <p>The idea is we have a file generated from the backend and we want to display it in the browser in a new tab</p>
  
  <p>We used to have an anchor tag like</p>
  
  <pre><code>&lt;a href={documentUrl} target="_blank" &lt;/a&gt;
  </code></pre>
  
  <p>Where the file was sent with "Content-Disposition:inline"  as part of the header</p>
  
  <p>now Content-Disposition is gone because the backend wants the frontend to manage whether to open the file in a new tab or download it</p>
  
  <p>is this possible? Preferably without using window.open or grabbing the blob data - using just the file url</p>
  
  <p><strong>Edit:</strong>  it's opening a new tab but then a pop up appears requesting where to download the file it doesn't actually present the file in the new tab</p>