After updating Angular from version 9.0 to 10.1, I encountered an issue where the canvas image is displaying out of order. Whenever I click on the Status Tab, the image becomes disorderly.
Interestingly, the problem seems to be present only in Angular 10.1 and not in Angular 9.
Here's a snippet of my HTML code:
<canvas [id]='canvasId'></canvas>
In my TypeScript file:
this.canvas = document.getElementById(this.canvasId) as any;
I suspect there might be two canvases being rendered, with the old canvas still lingering somewhere. Can anyone provide me with some insights on how to resolve this?