• Resolved fin05

    (@fin05)


    I created multiple tables they have links to PDFs. On a PC you can click the link and the PDF opens and no issues. On a mobile device if you click the link nothing happens. On mobile (chrome browser) if you long press the link and select open in new tab it downloads the PDF. How do I make it to just click the link and have the PDF open as it does on a PC?

Viewing 1 replies (of 1 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    Hello.

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    We have reproduced what you described, in terms of the different way how the PDF link opens when we visit the table from an actual mobile device,

    versus when we visit from the Desktop Browser version.

    This is not an issue that comes from our plugin, but it is the default behaviour of how mobile browsers load any PDF links when you do not have an App on the phone installed which opens PDF links.

    For example, if you have any kind of “Open PDF” application installed, your phone will try to open the PDF through that App.

    If the phone does not have any App for PDF installed, then it just defaults to the “download” behaviour.

    ​Here is a screenshot from our testing, for example if you simply try to directly open a link leading to a PDF on a phone device, that does not have a PDF app, it just defaults to “download” behaviour.

    At this time, we do not have any workarounds to achieve the desired behaviour, since that logic is coming from how the phone browsers handle loading PDF links.

    Please don’t hesitate to open a new Post if you have any other question.

    Kind regards.

Viewing 1 replies (of 1 total)

The topic ‘WpTables’ is closed to new replies.