Skip to content

Commit

Permalink
Bump react-pdf from 5.7.2 to 7.7.3 in /ui (#3726)
Browse files Browse the repository at this point in the history
* Bump react-pdf from 5.7.2 to 7.7.3 in /ui

Bumps [react-pdf](https://github.com/wojtekmaj/react-pdf/tree/HEAD/packages/react-pdf) from 5.7.2 to 7.7.3.
- [Release notes](https://github.com/wojtekmaj/react-pdf/releases)
- [Commits](https://github.com/wojtekmaj/react-pdf/commits/v7.7.3/packages/react-pdf)

---
updated-dependencies:
- dependency-name: react-pdf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix alignment of invisible text layer

The text layer is what makes text selectable, but it needs to be aligned in the same way as the underlying canvas that renders the page.

* Do not render annotations

Annotations can be popups, notes, highlights, forms, or clickable links. We currently do not render annotations. While the use of the `renderAnnotations` property suggests that annotations were indeed enabled in an earlier version, the property has been renamed long time ago and annotations have (effectively) not been enabled for multiple years now.

While it would have been possible to enable annotations again, I think keeping them disabled is actually sensible as they bear some risk due to their interactive nature.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Till Prochaska <1512805+tillprochaska@users.noreply.github.com>
  • Loading branch information
2 people authored and stchris committed May 22, 2024
1 parent dcdb5ce commit 3468bef
Show file tree
Hide file tree
Showing 4 changed files with 1,018 additions and 201 deletions.
Loading

0 comments on commit 3468bef

Please sign in to comment.