Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
17:10:29.690vendors~493df0b3.cb6…sylQSdLGyV785QJo:68 Uncaught TypeError: Cannot read properties of undefined (reading 'getBoundingClientRect') at e.updateLeftPosition (vendors~493df0b3.cb6…GyV785QJo:68:397294) at e.renderPageContainer (vendors~493df0b3.cb6…GyV785QJo:68:394509) at e.initPageDiv (vendors~493df0b3.cb6…GyV785QJo:68:373438) at e.pageRender (vendors~493df0b3.cb6…GyV785QJo:68:311249) at e.requestSuccess (vendors~493df0b3.cb6…GyV785QJo:68:309438) at pdfViewer.serverActionSettings.clientSideRendering.loadRequestHandler.onSuccess (vendors~493df0b3.cb6…GyV785QJo:68:306156) at e.successHandler (vendors~493df0b3.cb6…yV785QJo:135:472856) at e.stateChange (vendors~493df0b3.cb6…yV785QJo:135:472464) at httpRequest.onreadystatechange (vendors~493df0b3.cb6…yV785QJo:135:470557)vendors~493df0b3.cb6041ded04ba4448f1d.chunk.js?v=li3fpmZBmfieloei-B1i63BW9iFsylQSdLGyV785QJo:68 Uncaught TypeError: Cannot read properties of undefined (reading 'getBoundingClientRect')
at e.updateLeftPosition (vendors~493df0b3.cb6041ded04ba4448f1d.chunk.js?v=li3fpmZBmfieloei-B1i63BW9iFsylQSdLGyV785QJo:68:397294)
at e.renderPageContainer (vendors~493df0b3.cb6041ded04ba4448f1d.chunk.js?v=li3fpmZBmfieloei-B1i63BW9iFsylQSdLGyV785QJo:68:394509)
at e.initPageDiv (vendors~493df0b3.cb6041ded04ba4448f1d.chunk.js?v=li3fpmZBmfieloei-B1i63BW9iFsylQSdLGyV785QJo:68:373438)
at e.pageRender (vendors~493df0b3.cb6041ded04ba4448f1d.chunk.js?v=li3fpmZBmfieloei-B1i63BW9iFsylQSdLGyV785QJo:68:311249)
at e.requestSuccess (vendors~493df0b3.cb6041ded04ba4448f1d.chunk.js?v=li3fpmZBmfieloei-B1i63BW9iFsylQSdLGyV785QJo:68:309438)
at pdfViewer.serverActionSettings.clientSideRendering.loadRequestHandler.onSuccess (vendors~493df0b3.cb6041ded04ba4448f1d.chunk.js?v=li3fpmZBmfieloei-B1i63BW9iFsylQSdLGyV785QJo:68:306156)
at e.successHandler (vendors~493df0b3.cb6041ded04ba4448f1d.chunk.js?v=li3fpmZBmfieloei-B1i63BW9iFsylQSdLGyV785QJo:135:472856)
at e.stateChange (vendors~493df0b3.cb6041ded04ba4448f1d.chunk.js?v=li3fpmZBmfieloei-B1i63BW9iFsylQSdLGyV785QJo:135:472464)
at httpRequest.onreadystatechange (vendors~493df0b3.cb6041ded04ba4448f1d.chunk.js?v=li3fpmZBmfieloei-B1i63BW9iFsylQSdLGyV785QJo:135:470557)
Here's the code Im using in an Aurelia framework (javascript)
Im calling our own Rest API with the recipe gave on the github
https://ej2.syncfusion.com/documentation/pdfviewer/how-to/create-pdfviewer-service
The load method is called with the following params:
"{\"pageCount\":2,\"pageSizes\":{\"0\":\"816, 1056\",\"1\":\"816, 1056\"},\"hashId\":\"Pfc7gGABJxI7WQcjWlvbXw==\",\"documentLiveCount\":1,\"PdfRenderedFormFields\":[],\"uniqueId\":\"Sync_PdfViewer_3deda481-8bf6-4e67-3ca5-345bb6ed5b29\",\"RestrictionSummary\":[],\"digitalSignaturePages\":[],\"isTaggedPdf\":false,\"pageRotation\":[0,0]}"
However im getting weird undefined object within the Pdf library.