← Back to context

Comment by CraigJPerry

4 hours ago

Those bounding box demos are decent.

By quirk of fate i've spent the past 2 days prototyping some stuff on pdfjs. Just trying to figure out a game plan for handling bounding boxes in the face of page zooming, different resolutions etc. etc. I can't see it mentioned whether the components are virtualising pages (as in reusing dom elements as document pages scroll by). I guess i just learned what i'll be exploring tomorrow then...

yes - the pdf/docx viewer use react-virtual to virtualize the pages

the zoom should work with the bounding box highlights, we're working on adding rotation support