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

Internal link annotation has incorrect coordinates

Open Ja-sonYun opened this issue 4 years ago • 2 comments

When resizing web client, internal link annotation sometime has wrong coordinates.

After I uncomment below line, problem is fixed. https://github.com/FranckFreiburger/vue-pdf/blob/e5d4231f21481d2b11144a007c7c9de056eba78d/src/componentFactory.js#L78

I didn't check whole codes, but is this intended?

Ja-sonYun avatar Feb 05 '21 07:02 Ja-sonYun

Hey @Ja-sonYun , Did this solution works? I couldn't make it work for me. For my project, when resizing web client, it works without this line being uncomment, I think its because the browser somehow accumulate the changes and autoscale it thus the internal link still has proper clickable a link there. But in actual mobile devise, it won't support this way.

far-wtag avatar Aug 25 '21 05:08 far-wtag

Hey @Ja-sonYun , Did this solution works? I couldn't make it work for me. For my project, when resizing web client, it works without this line being uncomment, I think its because the browser somehow accumulate the changes and autoscale it thus the internal link still has proper clickable a link there. But in actual mobile devise, it won't support this way.

I didn't test for mobile devices, just for desktop, especially chrome, and it worked. Somehow, in my case, it has incorrect coordinate only in chrome

Ja-sonYun avatar Aug 25 '21 05:08 Ja-sonYun