The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
ng2-pdf-viewer not working properly in modal
This is code inside bootstrap4 modal box.
<span *ngIf = “showPdf ;then C1 else C2”>
<pdf-viewer [src]= pdfSrc
<div class=“spinner-grow text-primary”></div>
This code is not working as expected. Pdf is not loading until inspect element option is opened.