kkim
October 10, 2024, 1:59pm
3
Hi there,
How are you initializing the 2 instances? Are they mounted on 2 separate DOM elements?
Note that using multiple instances will consume a lot more memory, see this thread for details:
Which product are you using?
PDF.js Express Viewer
PDF.js Express Version
UI version
‘8.7.0’
Core version
‘8.7.4’
webviewer.min.js
‘8.7.4’
Detailed description of issue
I want to load 7 PDF WebViewers in my blazor WebAssembly.
On iPhone and iPad devices, the Chrome and Safari browsers automatically refresh when loaded into the 5th WebViewer.
Expected behaviour
{Provide a screenshot or description of the expected behaviour}
Does your issue happen with every document, or jus…
See this forum post for another example of implementation:
also, just to mention, I don’t think I’ve read anywhere explicitly that you can’t use two instances at the same time in your documentation…I would say there’s a difference between “we don’t suggest it” and “it’s not possible”. As far as I can tell, it is not possible and being able to find that information would have saved me a good chunk of time.
Best regards,
Kevin Kim