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

Does not work in Chromium PDF Viewer #9

Open
thal opened this issue Feb 3, 2016 · 1 comment
Open

Does not work in Chromium PDF Viewer #9

thal opened this issue Feb 3, 2016 · 1 comment

Comments

@thal
Copy link

thal commented Feb 3, 2016

When using the Chromium's built-in PDF viewer, AutoScroll does not work.
Tested on Chromium version 47.0.2526.80

@Pauan
Copy link
Owner

Pauan commented Feb 4, 2016

Hm... Chrome seems to use an <embed> tag for the PDF viewer.

And unfortunately, the scrollHeight of <embed> tags is the same as the clientHeight

In addition, changing the scrollTop doesn't do anything.


Basically, what that means is, Chrome doesn't allow for autoscrolling inside the PDF viewer.

I don't think there's anything I can do about that.

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

2 participants