react-pdf-viewer v2.4.2 Release Notes

  • ๐Ÿ› Bug fixes

    • Can't delete the last remaining digit in the page number input
    • Properly check whether or not the fileUrl changes
    • ๐Ÿ‘€ Fix the issue where we see the spinner if the document has a single page and the height is smaller than the viewer's height
    • Can't open the downloaded file if it was loaded with Uint8Array
    • Annotation popup can be displayed under the previous or next page
    • When users download a document loaded with Uint8Array, the download file is named as document.pdf instead of the document blob
    • Clicking a bookmark doesn't jump to the destination properly in the first time if the bookmark also requires to zoom the document to fit the width

    ๐Ÿ‘Œ Improvements

    • Display the current page number in the right
    • Make the content of annotation scrollable
    • ๐Ÿ‘ Support shortcuts

    ๐Ÿ”Œ | Shortcut | Supported plugin | Action | | ----------------------------- | ---------------------------------------------------- | --------------------- | ๐Ÿ”Œ | cmd + p | Print | Print the document | ๐Ÿ”Œ | cmd + - | Zoom | Zoom out the document | ๐Ÿ”Œ | cmd + + | Zoom | Zoom in the document | ๐Ÿ”Œ | cmd + 0 | Zoom | Reset zoom to 100% |