Unplanned
Last Updated: 18 Nov 2020 12:03 by ADMIN
Bogdan
Created on: 18 Nov 2020 11:51
Category: Diagram
Type: Bug Report
0
Diagram PDF export crashes when zoom is set to 0

I disable the zoom on a diagram by setting the zoom property to 0 and it works.

Unfortunately it crashes the pdf export with the following error:

This is a dojo where the issue reproduces: https://dojo.telerik.com/EveCAnAq

I did a quick investigation in the library and the culprit seems to be the first line of the below function. _zoom is either zero or undefined resulting in NAN. 

1 comment
ADMIN
Alex Hajigeorgieva
Posted on: 18 Nov 2020 12:03

Hi, Bogdan,

Thank you for reporting this behaviour.

I can confirm that this is indeed a bug and I have logged it in our GitHub repository in case you prefer to follow it there.

https://github.com/telerik/kendo-ui-core/issues/6142

Until we fix the bug you may use the zoomRate:0 .property. It prevents the zoom without breaking the export:

https://dojo.telerik.com/@bubblemaster/iDUViSOq

As a token of appreciation for bringing this to our attention, I have updated your Telerik points.

Regards,
Alex Hajigeorgieva
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/.