After window resize content disappears
Opened this issue · 3 comments
mkorytskyi commented
After any window resize rendered content disappears, so it means that document disappears from DOM
amansani15 commented
I am facing the same problem. Any inputs are highly appreciated.
TIA
amansani15 commented
After a full day trails with window event listeners and other methods. This simple style settings worked like a charm. Hope this might help others
<DocViewer pluginRenderers={DocViewerRenderers} documents={docs} style={{height: '95vh', width: '100%'}}/>
alvaro1728 commented
This is still a problem and setting the style as shown above hasn't fixed it.