Wojciech Maj

Results 257 comments of Wojciech Maj

In 45a19b6f0871cfd1fd48d5155532a5e54515467a, I've added a way to override `devicePixelRatio` canvas is rendering with. By default, it matches screen device pixel ratio, so for example `3` on most iPhones, `1` on...

Sounds like you need a container that would prevent overflow from happening in case React-PDF rendered content does not fit.

Outline works just fine in test repo: https://projects.wojtekmaj.pl/react-pdf/test/

You add Outline manually just like you add Page components manually.

Definitely not normal! Does the file load perfectly otherwise? Can you share your implementation of React-PDF here?

That looks perfectly okay! Wonder if you get at least onSourceSuccess callback...! By the way, I think you don't need to do this much work. 1. I believe whatever you...

Is anyone able to provide repro in CodeSandbox or similar?

I think data attributes are the best approach :)

The code looks fine to me. How does a sample response you get from fetch looks like?

Looks like it's this bit... https://github.com/mozilla/pdf.js/blob/a3e34002cbc8870e6a863bd3ded045c842b6de07/src/display/api.js#L2874-L2877 Interesting. Could it be the changes from #947?