wojtekmaj / react-pdf

Display PDFs in your React app as easily as if they were images.
https://projects.wojtekmaj.pl/react-pdf
MIT License
9.27k stars 878 forks source link

Links are not rendered #1857

Open volosovich opened 1 month ago

volosovich commented 1 month ago

Before you start - checklist

Description

I'm using react-pdf in my project on next.js 14 and my pdf file contains a list of links that are not rendered as links. 222.pdf A file with an example is attached to this description. There is no problem with links in a PDF file if I open it directly in the browser or any specific PDF reader tool

Steps to reproduce

  1. use your sample next-app in the repo
  2. change sample.pdf from your example to the provided file
  3. Try to click links

Expected behavior

Links should be links and should be opened in the browser.

Actual behavior

Links are not clickable.

Additional information

No response

Environment

EthanDavis commented 3 weeks ago

I'm also having this issue.

Nagavijay-beachbody commented 3 weeks ago

@volosovich @EthanDavis , Did you find any alternative solution for this.? if yes, Kindly help me.

rgarfield11 commented 1 week ago

I'm also experiencing this issue.

image

@wojtekmaj - please let me know if you'd like more context, is this an issue you are working to resolve?