Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while loading the content & Invalid parameter value detected. #86

Open
drpawar opened this issue Jun 22, 2018 · 2 comments
Open

Comments

@drpawar
Copy link

drpawar commented Jun 22, 2018

Hi,

I am getting 2 errors in ionic 1 project whenever I click on hardware back button of android device.

Error while loading the content.
AND
Invalid parameter value detected.

Here is console log:-
Uncaught TypeError: Cannot read property 'getDestination' of null
at PDFLinkService_navigateTo [as navigateTo] (pdf.js:12475)
at PDFLinkService_setHash [as setHash] (pdf.js:12596)
at PDFHistory.pdfHistory_goTo [as _goTo] (pdf.js:16154)
at pdfHistoryPopstate (pdf.js:15941)

PDFLinkService_navigateTo: "null" is not a valid destination array.

pdferror

And Also <pdfjs-viewer on-init="$ctrl.onInit()"></pdfjs-viewer> not working.

Please let me know if I am doing something wrong.

@sedran
Copy link

sedran commented Sep 25, 2018

+1 for the issue.

@TINITUS
Copy link

TINITUS commented Oct 16, 2018

You are not, @drpawar . With AngularJs application we have similar output in the console. we figured that going in HTML5 mode fixes the output. However I would be glad to see fix for this in non HTML5 mode for AngularJS as that mode give us bunch of headaches with SVGs in FireFox and Safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants