PdfViewer
PdfViewer copied to clipboard
Vertically and horizontally center PDF page
A custom implementation for supporting zooming and moving across the document has been added (in commit f7b9ae7ea651cf3fa201d6001d5fe60ad73f399f) to support the changes related to centering the document.
Without the custom implementation, the user won't be able to properly move across the document, specifically the top-left corner (as the user gets restricted to the actual bounds of the page [once they have sufficiently zoomed in]).
We might require to test or review this PR before we merge these changes.