Closed danhiel98 closed 2 years ago
I've already solve the problem.
What happened is that Vercel does not support the property canvasWidth='100%'
same Issue. canvasHeight and canvasWidth can recive only number Value. CanvasDraw.lazy is undefined When canvasWidth is '100%'
That error appears when I use the library in a next js project hosted in Vercel. I have noticed that today, because a few days ago it was working fine.
I don't know if it is due to the changes that have been made in the library or perhaps in Vercel.