kendo-ui-core
kendo-ui-core copied to clipboard
Custom ContextMenu tool in Editor does not trigger close
Bug report
Custom ContextMenu tool in Editor does not trigger close in built-in ColorPicker tools (probably others as well) after 2025.1.211
Reproduction of the problem
-
Open the Dojo - https://dojo.telerik.com/vkqfrNLN
-
Click on Background color ColorPicker
-
Click on custom ContextMenu
Both popups overlap
Expected/desired behavior
Wokraround
Manually close popups of pickers
// Get the editor instance
var editor = $("#editor").data("kendoEditor");
// Close other dropdowns when clicking your custom tool
$("#" + controlID).on("click", function () {
var foreColor = editor.toolbar.element.find("input[data-command='foreColor']").data("kendoColorPicker");
var backColor = editor.toolbar.element.find("input[data-command='backColor']").data("kendoColorPicker");
foreColor.close();
backColor.close();
});
https://dojo.telerik.com/cGlmOHzu
Ticket ID: 1688602
Environment
jQuery: 2025.1.211 Kendo UI version: 2025.1.211 or newer Browser: [all]