Skip to content

Laravel NPM - Promise issue on Safari #17

Open
@vyasvijay0427

Description

@vyasvijay0427

I have implemented jsPDF-html2canvas in my Laravel Application, It's working fine on Chore and Firefox.
Facing issue on Safari, Please find the script as below:
var fName = 'FileName.pdf'; var page = document.getElementById('domid'); html2PDF(page, { jsPDF: { unit: 'px', format: 'a4' }, scrollY: 0, scrollX: 0, imageType: 'image/jpeg', output: fName, margin: { top: 15, right: 15, bottom: 11, left: 15, } });

Getting error in cosole as "Unhandled Promise Rejection: RangeError: Arguments contain a value that is out of range of code points"

Please guide me for the same, Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions