Open in a new tab

Created on 23 January 2025, 6 months ago

Hello,

Where can I configure the file to open in a new tab?

Thank you.

πŸ’¬ Support request
Status

Active

Version

3.1

Component

Documentation

Created by

πŸ‡§πŸ‡ͺBelgium sfcamil

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @sfcamil
  • πŸ‡³πŸ‡±Netherlands clivesj

    The normal behavior is that the link will open in a new tab.
    This is not happening?

  • πŸ‡ΊπŸ‡ΈUnited States zaurav McLean, VA

    <a href="/filebrowser/download/1?fid=1#block-olivero-page-title" target="_blank">test.zip</a>

    I can confirm it does indeed have a target="_blank".

    Maybe the confusing part is that it opens in a new file but closes as soon as the download is triggered. Maybe check to see if the file was downloaded?

  • πŸ‡³πŸ‡±Netherlands clivesj

    How it should work:
    If you click a link, the browser will open the item in a new tab. If this new item is a webpage, image etc... something the browser can display, this works.
    If you click on a link like test.zip, the browser will offer a download instead. I think because the browser doesn't know what to do with it. Same if you open a .docx file.
    So, I would say this behavior is normal and intended, but let me know in case I am missing something obvious.

    B.t.w.:
    if you select "force download" in the node settings, you will always get the download option.

  • πŸ‡³πŸ‡±Netherlands clivesj

    I am closing this one.
    Please re-open when there is more info.
    For now I think its working as designed

Production build 0.71.5 2024