stephanrauh / ngx-extended-pdf-viewer

A full-blown PDF viewer for Angular 16, 17, and beyond
https://pdfviewer.net
Apache License 2.0
450 stars 167 forks source link

Cancel Rendering is not a function #2322

Closed achapman009 closed 2 months ago

achapman009 commented 2 months ago

Describe the bug

  1. Go to (https://pdfviewer.net/extended-pdf-viewer/simple)
  2. Click on any option that leaves the pdf-viewer like https://pdfviewer.net/extended-pdf-viewer/intro
  3. In the console you will see the error this._cancelRendering is not a function

In my application I am getting this issue when I load the pdf-viewer up in a tab and it stops my pdf from rendering, as well as when I exit.

Version info

image

stephanrauh commented 2 months ago

Version 20.0.1 fixes the problem. Thanks for pointing this out!