[Solved] Changes in unbind function in 2026 version?

1 Answer 10 Views
Diagram
Claire
Top achievements
Rank 1
Claire asked on 29 Apr 2026, 09:48 AM | edited on 29 Apr 2026, 01:11 PM

Hi, 

I have a diagram developed in Kendo UI 2024.3.806, for which I disconnected the mouse scrolling functionality using the following lines:

$("#diagram").unbind("mousewheel");
$("#diagram").unbind("DOMMouseScroll");

so that user can use it to scroll the page instead of zooming in the diagram.

When migrating it to the 2026 version, these lines do not work anymore.
How can I replace them?

I made 2 examples in Kendo Dojo UI:
2024 version: https://dojo.telerik.com/sbTBquyi
2026 version: https://dojo.telerik.com/SjlrhOEW/2

Many thanks in advance for your help!

Kind regards,
Claire

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 29 Apr 2026, 03:00 PM

Hello Claire,

Thank you for reaching out about the Kendo UI Diagram.  I can confirm the mousewheel event has been deprecated.  As a replacement to disable the zooming feature for the Kendo UI Diagram, utilize preventDefault during the zoomStart event:

JavaScript

            $("#diagram").kendoDiagram({
              	zoomStart: function(e){
                  //disable zooming
                  e.preventDefault();
                },
                //....
            });   

Please feel free to take a look at this updated Progress Kendo UI Dojo with the approach above, and let me know if you have any questions.

Regards,
Patrick | Technical Support Engineer, Senior
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.

Claire
Top achievements
Rank 1
commented on 30 Apr 2026, 09:36 AM

Thanks Patrick, it works like a charm!
Tags
Diagram
Asked by
Claire
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or