For the case of different page height in a single pdf, vertical scroll
height should be decided based on the rendered height and not on the
page(actual) height.
For eg:
I had a PDF of let's say 3 pages. First page height is 500 and others height is 600. Max-height is taken for the rendering as 600.
When I am scrolling the PDF file, the last page content is not rendered completely since the scroll height is equal to 500+600+600=1700 and actual rendered height is 1800.
For the case of different page height in a single pdf, vertical scroll height should be decided based on the rendered height and not on the page(actual) height. For eg: I had a PDF of let's say 3 pages. First page height is 500 and others height is 600. Max-height is taken for the rendering as 600. When I am scrolling the PDF file, the last page content is not rendered completely since the scroll height is equal to 500+600+600=1700 and actual rendered height is 1800.
May be this would act as a fix for issue #9 too.