webodf / ViewerJS

ViewerJS: Document Reader in JavaScript
http://viewerjs.org
1.94k stars 421 forks source link

function focus doesn't work on WebView Android #276

Open BrandonG420 opened 5 years ago

BrandonG420 commented 5 years ago

Hi, Im trying to load a PDF from my SRSS on my webview, but a got this error: "Uncaught TypeError: Cannot call method 'focus' of undefined" and the page does nothing. In other browsers (Chrome works but still the error in console) works fine.

benyaminl commented 4 years ago

That mean the webview need to be updated, some device too old enough to load the pdf, and we as developer must courage them to move to a newer device, and that would solve the problem in theory.