Unplanned
Last Updated: 09 Jul 2025 11:47 by ADMIN
Jakub
Created on: 26 Apr 2023 13:23
Category: ContextMenu
Type: Feature Request
13
Do not close Context Menu on parent item click
I'd like to prevent the Context Menu from closing when a user clicks on a parent item. The default behavior in most MS applications is that the Context Menu doesn't close after clicking on a parent item.
4 comments
ADMIN
Ivan Danchev
Posted on: 09 Jul 2025 11:47

Hello,

Until this feature gets approved and implemented, you may consider using the following workaround: https://blazorrepl.telerik.com/wfkBajvP42TB9xRa50

It relies on the ContextMenu OnItemRender event. In its handler a js function is called, in which a click handler is attached to parent items and the click event is then prevented. 

Regards,
Ivan Danchev
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.

kalyan
Posted on: 07 Jul 2025 05:11
Much needed fix. Our automation is blocked because of this. 
Alex
Posted on: 08 Apr 2025 15:22
Yes please

The commonly suggested preventDefault() and stopPropegation() is not part of ContextMenuSelectEvent.
Sean
Posted on: 03 Feb 2025 15:42
Agreed.  It is annoying that context menu closes when user accidentally clicks parent item which is just a grouping of child items.