ej2-angular-ui-components icon indicating copy to clipboard operation
ej2-angular-ui-components copied to clipboard

pdfviewer: when searching for text that doesn't exist or is the last instance in the document, results in a TypeError (reading zoomFactor of undefined).

Open gigadie opened this issue 7 months ago • 2 comments

Pdf Viewer

If we search for a word in the document which is not present, or if it's the last occurrence and we click on "next" then an exception is thrown:

TypeError. Cannot read properties of undefined (reading 'zoomFactor'). TypeError: Cannot read properties of undefined (reading 'zoomFactor')

This is not happening if we include the MagnificationService instead, even if nor the documentation explains it's a requirement neither logically the search functionality should need the magnification tools to work as expected.

gigadie avatar Jul 17 '24 14:07 gigadie