ej2-angular-ui-components
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).
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.