Code Monkey home page Code Monkey logo

Comments (7)

williambowsher avatar williambowsher commented on May 18, 2024

Think this issue is not related to the html2pdf code but related to the html2canvas cropping the image.

from html2pdf.js.

eKoopmans avatar eKoopmans commented on May 18, 2024

Hi @scriptmonkey69, sorry again for the delay. This looks like the offscreen rendering bug. Try the version of html2canvas in the /vendor/ directory of this package, it might resolve your problem. More info here.

from html2pdf.js.

williambowsher avatar williambowsher commented on May 18, 2024

from html2pdf.js.

eKoopmans avatar eKoopmans commented on May 18, 2024

Great, happy to help! Is it safe to close the issue?

from html2pdf.js.

williambowsher avatar williambowsher commented on May 18, 2024

from html2pdf.js.

jCabigting avatar jCabigting commented on May 18, 2024

Hi @eKoopmans, I'm having this issue but for some reason I can't find the /vendor/ folder that you're pointing to. Has it been removed? And is there a permanent fix for this issue?

from html2pdf.js.

eKoopmans avatar eKoopmans commented on May 18, 2024

Hi @jCabigting, sorry for the long delay.

There's no longer a /vendor/ directory, instead my suggestion would be to make sure you're using the "bundled" version of the package, html2pdf.bundle.js. That has the latest version of html2canvas and jsPDF bundled in. The issue described above had to do with an older version of html2canvas that should be resolved now.

from html2pdf.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.