Hi @eddypiv,
The PDF Embedder calculates the required space on the initial page load; if the PDF is embedded in an AJAX-rendered content area, the script “thinks” that the space is “0” and the page load event to calculate isn’t called again to adjust the viewer. Another customer that had a similar issue with a custom theme discovered that if they placed a text break <br/> after the embedded PDF, the issue was resolved.
Alternatively, you could call the JS for the resize after the page load event to have the viewer adjust the sizing accordingly: https://wp-pdf.com/kb/the-viewer-doesnt-display-at-all-or-at-wrong-size-when-inside-a-javascript-based-tab-or-ajax-page-transitions/
If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.