veraPDF / verapdf-js-viewer

PDF preview based on pdf.js
Mozilla Public License 2.0
3 stars 4 forks source link

onBboxesParsed array is always empty #36

Closed BennyAlex closed 1 year ago

BennyAlex commented 1 year ago

Hello,

when passed a callback for onBboxesParsed, the array it should return is always empty.

Not sure if this is caused by using an old beta version of react-pdf or a problem with your code.

BennyAlex commented 1 year ago

Okay i could fix this, the bbox array was not set correctly. But still would be great if you could update the packages