When the user opened the "Secondary Toolbar" menu, and then perform some action that will dynamically replace the presented pdf (as the application using the "src" attribute),
The "Secondary Toolbar" menu remains open.
It is expected that the menu will close automatically.
or alternatively,
Can you provide an API (via the NgxExtendedPdfViewerService) to be use in order to explicitly close the menu?
meaning it will call to the SecondaryToolbar.close() method, of the PDFjs project.
Describe the bug
click on the "Tools" button (most right side button), to open the "Secondary Toolbar" menu
change the src property value, in order to load or unload the pdf file
When the user opened the "Secondary Toolbar" menu, and then perform some action that will dynamically replace the presented pdf (as the application using the "src" attribute), The "Secondary Toolbar" menu remains open. It is expected that the menu will close automatically. or alternatively, Can you provide an API (via the NgxExtendedPdfViewerService) to be use in order to explicitly close the menu? meaning it will call to the SecondaryToolbar.close() method, of the PDFjs project.
Describe the bug
Version info
Demo PDF file any pdf
it reproduceable in the "PdfShowcase" site e.g. https://pdfviewer.net/extended-pdf-viewer/base64 https://pdfviewer.net/extended-pdf-viewer/blob