You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [x] Bug report -> please search issues before submitting
- [ ] Feature request
- [ ] Documentation issue or request
On Safari when I change a page by clicking on buttons it automatically scrolls to the start of a pdf page, so the top edge of browser's window matches top edge of the pdf page.
It doesn't work in Chrome, but if I remove <!DOCTYPE html> from the index.html then it works in Chrome.
Please, in my case I want not scroll on every page change. Is unconfortable is there any property where desactivate this functionality.
Wy force this scroll on every page change?
I have found a workaround that doesn't involve directly changing the pdfjs module. So what you need to do is to capture on your component the PdfViewerComponent. Then you can access the pdfviewer and inside there is an object call scroll.down and you can set it to false. And that's it you will no longer have scrolling when changing pages.
Bug Report or Feature Request (mark with an
x
)On Safari when I change a page by clicking on buttons it automatically scrolls to the start of a pdf page, so the top edge of browser's window matches top edge of the pdf page.
It doesn't work in Chrome, but if I remove
<!DOCTYPE html>
from the index.html then it works in Chrome.I'm using version 5.2.3.
Here is code I have.
I tried to add
[stick-to-page]="false"
but it didn't help.The text was updated successfully, but these errors were encountered: