how to get the new scroll position when scale the pdf #1890
Unanswered
jiangxiaoqiang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In react, when I am scale the pdf ,then get the new scroll position like this:
but the pdf page still could not remain the offset and jump to another page. how to get the correct new scroll position and keep the pdf to fixed position when scale the pdf page? This is how I store the scroll postion:
store the pdf scroll position like this:
this is the full code:
Beta Was this translation helpful? Give feedback.
All reactions