Tomas Rimkus

Results 312 comments of Tomas Rimkus

The new packages seem to be missing peer dependencies.

Shouldn't there also be some minimum requirement for Angular and related packages (forms, cdk, router, etc)? Is it Angular `16` or `18`?

Very similar issues have been discarded as "won't fix" since the fix breaks some Google internal tests: #55761 #25749 All the reactive forms issues might as well be marked as...

Older version (`1.4.7`) seems to work fine.

This is not a bug in html2canvas. This is [a limitation of iOS Safari](https://github.com/jhildenbiddle/canvas-size#mobile). It only has a maximum canvas area of 4,096 x 4,096px. As a workaround you can...

Do you destroy old canvas before creating a new one? Does it work if you just do it for the second container, skipping the first?

You can also try to do like suggested in [this StackOverflow answer](https://stackoverflow.com/a/42739359/3529279) and set canvas width manually. EDIT: [similar question on SO](https://stackoverflow.com/questions/11200325/what-ios-maximums-are-set-for-height-width-of-html5-canvas) which might be helpful.

Few things you can try: - Clear the canvas after getting the image: ```js const ctx = canvas.getContext('2d'); ctx.clearRect(0, 0, canvas.width, canvas.height); ``` - Reuse the canvas by setting "canvas"...

@omeriko did you manage to make it work?

@gluxon any update on the issue? This prevents us from being able to use the `catalog` feature.