Skip to content

Releases: browserstack/verapdf-js-viewer

v1.7.21

19 Nov 04:34
8dec2e4
Compare
Choose a tag to compare

What's Changed

Fixes and compatibility with vite based projects by @vsanse in #2

  • Fixes

    • Added the ability to allow updating bboxs after the page is rendering, allowing for drawing boxes on demand and need basis
    • Added fix for library breaking page in production build via vite: styled-components/styled-components#3956
    • For vite-based systems with updated react-pdf and pdfjs-dist version configuration of global worker needs to be in consumer app as vite is unable to resolve ?url imports
  • Features

    • pageIntersectionThreshold allows you to pass custom intersection threshold to decide when the page should be rendered with default value [.2, .4, .5, .6, .8, 1]