html2canvas doesn’t capture text in textarea in SVG

I am working on an Angular node-based application, the nodes in which are html tables containing <textarea>. When I try to generate project previews using html2canvas, neither the text in <textarea> nor <mat-icons> are rendered, maybe it’s the same problem.
Here is the expectation/result:

And also the html structure of the component: