Skip to content

Releases: react-pdf-kit/react-pdf-viewer

v2.7.2 (26 June 2026)

Choose a tag to compare

@david-reactpdf david-reactpdf released this 30 Jun 09:08
9ac8022

⚡ Enhancements:

  • Improved accessibility on
    • Tooltips of buttons and menus
    • Enhanced focus styles on dropdown selection via keyboard navigation
    • Aria-live regions to support screen readers

🐛 Bug Fixes:

  • Fixed the page number not responding in time when clicking next or previous repeatedly

Changelog Reference: https://www.react-pdf-kit.dev/docs/introduction/changelog/#v272-26-june-2026

v2.7.1 (17 June 2026)

Choose a tag to compare

@david-reactpdf david-reactpdf released this 24 Jun 01:58
fb9e975

⚡ Enhancements:

  • Improved accessibility on
    • Autocomplete attribute such as the password input field
    • Support adjustable text spacing via CSS
    • Lang attributes to support screen readers

🐛 Bug Fixes:

  • Fixed the page number input not handling correctly for when entering a 0
  • Fixed the incorrect page navigation when selecting from the Thumbnail panel under the Dual Page with cover mode

Changelog Reference: https://www.react-pdf.dev/docs/introduction/changelog/#v271-17-june-2026

v2.7.0 (21 May 2026)

Choose a tag to compare

@david-reactpdf david-reactpdf released this 25 May 07:59
09eaa1a

✨ What’s New:

  • Added support for exporting all icons in the React PDF Viewer component

⚡ Enhancements:

  • Improved accessibility on
    • Input labels
    • Keyword navigation sequence

Changelog Reference: https://www.react-pdf.dev/docs/introduction/changelog/#v270-21-may-2026

v2.6.0 (15 May 2026)

Choose a tag to compare

@david-reactpdf david-reactpdf released this 18 May 02:46
5128de3

✨ What’s New:

  • Added withCredentials and httpHeaders prop in RPProvider to provide standard authentication protocol for PDF files
  • Added additional CSS styling support for overriding spaces between pages

⚡ Enhancements:

  • Improved accessibility on
    • Semantic landmarks such as header, main and nav
    • Error state with aria-invalid and error descriptions
    • Animation controls

Changelog Reference: https://www.react-pdf.dev/docs/introduction/changelog/#v260-15-may-2026

v2.5.0 (7 May 2026)

Choose a tag to compare

@david-reactpdf david-reactpdf released this 09 May 02:04
93c8e50

✨ What’s New:

  • Added useElementThumbnailContext to support - inserting of elements such as checkbox or a shape on a specific page in the thumbnail
  • Added scrollBehavior prop in RPProvider to disable smooth scrolling globally

🐛 Bug Fixes:

  • Fixed the goToPage function of usePaginationContext not always navigating to the target page correctly

Changelog Reference: https://www.react-pdf.dev/docs/introduction/changelog/#v250-7-may-2026

v2.4.0 (24 April 2026)

Choose a tag to compare

@david-reactpdf david-reactpdf released this 27 Apr 02:11
05a9787

✨ What’s New:

  • Added useScrollModeContext to support selection of scroll modes (i.e. page scrolling, vertical scrolling and horziontal scrolling)
  • Added supporting function to disable smooth scrolling when using goToPage

⚡ Enhancements:

  • Improved on handling of onLoadError for invalid PDF files or when a browser is not supported

Changelog Reference: https://docs.react-pdf.dev/introduction/changelog/#v240-24-april-2026

v2.3.0 (10 April 2026)

Choose a tag to compare

@david-reactpdf david-reactpdf released this 13 Apr 07:48
d66a4a3

✨ What’s New:

  • Added useSelectionModeContext to support switching of text selection tool mode or hand tool mode
  • Added support for license validation of http connection

⚡ Enhancements:

  • Improved on the scaling of white-space within the thumbnail panel for mobile responsive
  • Improved on the title’s white-space of the Document properties modal for compactness

Changelog Reference: https://docs.react-pdf.dev/introduction/changelog/#v230-10-april-2026

v2.2.1 (2 April 2026)

Choose a tag to compare

@david-reactpdf david-reactpdf released this 03 Apr 16:46
f23eeec

🐛 Bug Fixes:

  • Fixed the initialPage prop flashing the first page before showing the targeted page

Changelog Reference: https://docs.react-pdf.dev/introduction/changelog/#v221-2-april-2026

v2.2.0 (24 March 2026)

Choose a tag to compare

@david-reactpdf david-reactpdf released this 26 Mar 11:53
2a8c0fa

✨ What’s New:

  • Added support for Custom License which can validate all domains with a single license key
  • Added support for wasmUrl props to open JPEG 2000 files
  • Added support for enabling or disabling of the drag and drop file zone via the dropFileZone prop in RPLayout

Changelog Reference: https://docs.react-pdf.dev/introduction/changelog/#v220-24-march-2026

v2.1.0 (11 March 2026)

Choose a tag to compare

@david-reactpdf david-reactpdf released this 12 Mar 04:51
1f0d421

✨ What’s New:

  • Added support for the icon customization of fields inside the individual tools via the icons prop of RPHorizontalBar and RPVerticalBar components

⚡ Enhancements:

  • Improved on the accessible navigation of the search popover

🐛 Bug Fixes:

  • Fixed console error when the Document Properties modal is displayed

Changelog Reference: https://docs.react-pdf.dev/introduction/changelog/#v210-11-march-2026