Skip to content

Replace html2canvas #961

@dacowan404

Description

@dacowan404

A recent change to Google Chrome (and probably other browsers as well) changed the speed (to be much slower, from a couple of seconds to 2+ minutes) of exporting certain views to png images. This is has something to do with costume css properties (see https://github.com/niklasvh/html2canvas/issues/3249?utm_source=chatgpt.com and https://issues.chromium.org/issues/429073017 for more details). Either way, it seems like the html2canvas package will need to be updated, but the owner hasn't updated the package in 3+ years, so it may not happen. The temporary fix was to locally update the package as seen here (niklasvh/html2canvas@37b75f5). This is a bandaid to the problem and would have to be implemented for each developer during onboarding. A long term fix would be a.) use updated html2canvas package (which may never come) or b.) find another package to replace html2canvas.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions