Which product are you using?
Pdf.js Express Viewer
PDF.js Express Version
8.7.4
Detailed description of issue
couldn’t use searchtext API for next search result
Expected behaviour
docViewer.addEventListener(‘documentLoaded’, () => {
instance.UI.searchText(searchValue, {
caseSensitive: false,
wholeWord: false
});
});
i just call this, on first search it complete , but after i search same word again, it has error and won’t go to next search value
Does your issue happen with every document, or just one?
every documents, i did try to create new project and create new instance, the problems are the same
Link to document
(Basic searching | Documentation)
Code snippet
{Provide a relevant code snippet}