Unplanned
Last Updated: 21 Sep 2026 10:37 by Domingos Portela
Domingos Portela
Created on: 21 Sep 2026 10:37
Category: Diagram
Type: Bug Report
0
Diagram throws exception on connection click

Bug report

Reproduction of the problem

The Diagram's JS handle-creation logic (_createHandles) throws an exception whenever a connection has both Points.Enabled = true and Drag/Remove enabled at the same time.

  1. Run this REPL example: https://blazorrepl.telerik.com/mAaDQlPk22WdK2jH57
  2. Click a connection

Current behavior

A js exception is thrown: Uncaught TypeError: can't access property "radius", e.midpoint is undefined

Expected/desired behavior

No exception is thrown.

Workaround:

Do not set the Points property in the DiagramConnectionEditableDescriptor:
*Points = new DiagramConnectionEditablePointsDescriptor

{ Enabled = true }

*

Editable = new DiagramConnectionEditableDescriptor
{
    Enabled = true,
    Drag = true,
    Remove = false
}

If using declarative shapes, remove:

<DiagramConnectionEditablePoints Enabled="true" />

from the connections.

Environment

  • Kendo/Telerik version: 15.0.1
  • Browser: [all]
0 comments