react-pdf icon indicating copy to clipboard operation
react-pdf copied to clipboard

Use 2 version of react-pdf in 1 project

Open nmaddp1995 opened this issue 7 months ago • 4 comments

Before you start - checklist

  • [X] I understand that React-PDF does not aim to be a fully-fledged PDF viewer and is only a tool to make one
  • [X] I have checked if this feature request is not already reported

Description

I am using react-pdf v5 to display PDF files. But when I applied text-layer, the v5 misaligned a lot of text so I decided to use react-pdf v7 instead. Now I want to keep all other react-pdf instances at v5, only the component I apply text-layer apply v7.

Is there any way I can do that?

Proposed solution

No response

Alternatives

No response

Additional information

No response

nmaddp1995 avatar Nov 10 '23 03:11 nmaddp1995

Yes, I also encountered this problem too. I try to set up but it didn't work

prokutenb8x avatar Nov 10 '23 06:11 prokutenb8x

Why not go v7 all the way?

wojtekmaj avatar Nov 10 '23 14:11 wojtekmaj

Currently, our app is really big and relevant to a lot of other apps in the same project, so we don't want it to affect other parts.

prokutenb8x avatar Nov 13 '23 03:11 prokutenb8x

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

github-actions[bot] avatar Feb 12 '24 00:02 github-actions[bot]

This issue was closed because it has been stalled for 14 days with no activity.

github-actions[bot] avatar Mar 04 '24 00:03 github-actions[bot]