Hello,
after upgrading KendoReact from version 10.x to 14.4.1, the PDFViewer stopped rendering the PDF document content.
We did not change the implementation. The PDF file is loaded from our server as a Base64 string and passed to the PDFViewer through the data prop.
Before the upgrade, the same Base64 value was rendered correctly. After the upgrade to 14.4.1, the PDFViewer toolbar is displayed, but the document content area is empty. The pager shows “Page 1 of 0”, and no PDF pages are rendered. Please see the attached screenshot.
Current behavior:
PDFViewer toolbar is visible.
Content area is blank.
Pager shows “Page 1 of 0”.
The same Base64 PDF data worked in the previous KendoReact version.
No code changes were made except the KendoReact package upgrade.
Expected behavior:
The PDF content should be rendered from the Base64 string as before.
Environment:
@progress/kendo-react-pdf-viewer: 14.4.1
KendoReact upgraded from: 10.x
Data source: Base64 string returned from server
Usage:
<PDFViewer data={base64String} />
Could you please confirm whether there were any breaking changes or new dependency/version requirements for the PDFViewer between KendoReact 10.x and 14.4.1, especially related to Base64 data rendering, pdfjs-dist, @progress/kendo-pdfviewer-common, or theme versions?
Also, is the PDFViewer in 14.4.1 expected to work with a plain Base64 string passed to the data prop, or should the value be converted to ArrayBuffer/TypedArray instead?
Thank you.
