Completed
Last Updated: 27 Jun 2025 13:02 by ADMIN
Release 2025 Q3 (Aug)
omti
Created on: 02 Jun 2025 07:38
Category: Editor
Type: Bug Report
1
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
1. Open the Dojo - https://dojo.telerik.com/vkqfrNLN

2. Click on Background color ColorPicker

3. 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();
          });

Environment
Kendo UI version: 2025.1.211 or newer
Browser: [all]

0 comments