To reproduce :
go to official dojo https://dojo.telerik.com/PfhfyBzh
select all text (ctrl+A) (or select text with image at the same time with mouse)
Start dragging the selection
---> the error occurs (check console devTools)
Uncaught TypeError: Cannot read properties of undefined (reading '_destroyResizeHandles')
The error occurs here :
let fe = u.extend({
create: function(e) {
let t = this;
a(e.body).on(`dragstart` + S, function() {
var t = x.nodes(e.getRange())
, n = !1;
t.forEach(function(e) {
e.nodeName === `IMG` && (n = !0)
}),
n && t.length > 1 && e.elementResizing._destroyResizeHandles()your algorithm find one image in the selection and assume we are resizing and try to call "_destroyResizeHandles"
I think you should test before calling this method so it should be :
n && t.length > 1 && e.elementResizing && e.elementResizing._destroyResizeHandles()
Hello Jean Charles,
Thank you very much for reporting the behavior and for the detailed description.
I can confirm that the issue is a bug on our side, thus I am changing the status of the item to 'Unplanned'. You could follow the issue in order to be notified about our progress on it.
As a token of gratitude for reporting a bug, I have updated your Telerik points.
Regards,
Neli
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.