Completed
Last Updated: 06 Nov 2024 14:34 by ADMIN
Release 2024 Q4 (Nov)
Created by: Paweł Korczak
Comments: 0
Category: Window
Type: Bug Report
0

Bug report

Window's modal feature isn't working if there's an open Dialog.

Regression introduced with 2024.1.319

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/uyUwAMeQ/2
  2. Click the Open button inside the Dialog

Current behavior

The Window opened from the button isn't modal, and you can interact with the Dialog.

Expected/desired behavior

The Window should be modal as per the configuration.

Environment

  • Kendo UI version: 2024.3.806
  • Browser: [all]
Unplanned
Last Updated: 24 Jul 2025 06:49 by Paweł Korczak
Created by: Paweł Korczak
Comments: 0
Category: Window
Type: Feature Request
0

Currently in kendo.prompt, the user can accept or decline the entered value in the popup only by clicking on the 'OK' and ' Cancel' buttons.

I know I can workaround that behavior as demonstrated below - https://dojo.telerik.com/pRIUUdCh 

$('[role="alertdialog"]').on('keydown', function(event){
        if(event.keyCode == 13){
          $('[role="alertdialog"] .k-button:first-child').focus();
          $('[role="alertdialog"] .k-button:first-child').click();

        } else if (event.keyCode == 27){
          $('[role="alertdialog"] .k-actions .k-button').eq(1).click()
        }
      })

However, I would like to have a built-in possibility to accept and cancel through the Enter and Escape keys.

 

1 2 3