You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just exploring it before using it for my project and i encountered a major issue. Issue
Contents inside an <iframe> or object or embed doesn't capture if it is a pdf.
details
Span element in the main document is captured fine. However, <iframe> fails if content is a pdf, even if it is in same domain
I have tried multiple was to get the document inside <iframe>, but it always fails.
I have tried SetTimeout after looking at couple of other issue but it didn't solve the problem.
is there any way to fix this or is it a limitation of html2canvas even if documents are in same domain ?.
It would be helpful , if you suggest other libraries which have solution for this.
Specifications:
html2canvas version tested with: 1.4.1
Browser & version: Chrome 127.0.6533.100
Operating system: Windows 11
The text was updated successfully, but these errors were encountered:
Hi ,
Thanks for the wonderful library.
I was just exploring it before using it for my project and i encountered a major issue.
Issue
Contents inside an <iframe> or object or embed doesn't capture if it is a pdf.
code
details
Span element in the main document is captured fine. However, <iframe> fails if content is a pdf, even if it is in same domain
I have tried multiple was to get the document inside <iframe>, but it always fails.
I have tried SetTimeout after looking at couple of other issue but it didn't solve the problem.
is there any way to fix this or is it a limitation of html2canvas even if documents are in same domain ?.
It would be helpful , if you suggest other libraries which have solution for this.
Specifications:
The text was updated successfully, but these errors were encountered: