Wojciech Maj

Results 338 comments of Wojciech Maj

Ref was never documented and (even sudden) lack of it can't be considered a bug. What is your use case? Focusing input?

`ref` is a bad idea for a name here; it should either be a reference to component itself, or to a root (and usually the only, because it's for a...

Yep that's right! Sorry if I failed to explain it clearly.

Hey @a1603169! Thank you for your contribution. I'm worried about the maintenance though. How would I keep these docs up to date? I don't know Korean 🙈

It appears replacing @react-pdf/png-js with pngjs would solve this. It would also probably be a better idea from maintainability point of view. https://npmtrends.com/@react-pdf/png-js-vs-png-js-vs-pngjs

If the package worked before and stopped working without any changes on our side, it's a Next.js regression and should be reported to them. I'm not surprised this happened, they...

I'm curious how #1690 would perform now that PDF.js is ESM first. Unfortunately we're not ready for a pre-release even, let alone full release.

@jianyuan Your solution looks REALLY good! I think it can be safely recommended as a secondary option if the primary one doesn't work well.

I don't think that's the same issue though. In #1010 you could see that the text React-PDF was _trying_ to render is more or less accurate, while OP's screenshot shows...