Thank you very much for your patience. Thank you also for sharing the solution you have found. I am sure it will be helpful to the other users in the Forum who have the same issue.
Another possible approach is to use the resize() method in order to clear the canvas:
Here you will find a Dojo example where this is demonstrated.
Regards,
Neli
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.