Unplanned
Last Updated: 05 Aug 2026 08:18 by ADMIN
Cyrille
Created on: 04 Aug 2026 16:20
Category: Grid
Type: Bug Report
0
Grid Popup Editor leaves residual k-focus class after closing with Window Close button (X)

Product:

Telerik UI for ASP.NET Core (Grid)
Component: Grid Popup Editing
Version: 2026.2.520

Description:

I am experiencing an inconsistent focus behavior when using a Kendo Grid configured with Popup Editing.
After opening the popup editor and closing it using the Window close button (X), a Grid cell remains visually focused. The focused cell contains the CSS class k-focus.
The visual outline disappears immediately if the k-focus class is manually removed:

$(".k-focus").removeClass("k-focus");

However, removing the browser focus with:

document.activeElement?.blur();

does not remove the visual outline, which suggests that the issue is related to the Grid's internal focus state rather than the actual DOM focus.

Environment :

Telerik UI for ASP.NET Core
Kendo UI version: 2026.2.520
Popup editing mode
Grid is not configured with .Navigatable()
Reproduced in Edge Chromium

Actual Behavior:

Open a Grid popup editor.
Close the popup using the Window close button (X).
A Grid cell keeps the k-focus CSS class.
The focus outline remains visible.
Expected Behavior

Where Navigatable is not set (false), losing the popup using the Window close button should clean up the Grid focus state, or behave consistently with other popup closing mechanisms.

Reproduction example: 

https://dojo.telerik.com/ThODkbYU/

Attached Files:
1 comment
ADMIN
Vasko
Posted on: 05 Aug 2026 08:18

Hello Cyrille,

Thank you for the provided dojo, I have tested and can confirm this is indeed an issue with the Grid and popup editing.

While testing, I managed to work-around the issue by assigning the close event of the popup window 

editable: {
  mode: "popup",
  window: {
    close: (e) => { }
  }
},

In my tests I noticed that you do not need to call code in the event handler even, just have it assigned to one.

I have logged this as a bug and have updated your Telerik Points, as a workaround you can use the above code snippet. 

    Regards,
    Vasko
    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.