When a modal Dialog is open, if we open a modal Window and then attempt to close it, a js exception is thrown. This is a regression introduced in version 2024.1.319.
Run the following dojo example: https://dojo.telerik.com/IrEWEHAZ
A js exception is thrown:
Uncaught TypeError: this._object(...)._overlay is not a function
The issue is related to the modal option being enabled in both the Dialog and the Window. Disabling this option in one of them, prevents the exception.
The Window closes without exceptions.
I have discovered a bug in Kendo UI that seems to only affect IE11.
When you create a Window with a position and width that renders partially off screen, IE11 will scroll the body to show as much of the window as possible.
Worse still, it seems to scroll to the last Kendo Window that was created.
This is undesirable. Is there a known workaround, or fix for this?
You can see it in this dojo if you shrink IE11 to be smaller than the window is wide:
https://dojo.telerik.com/iBiFatAT
See attached.
Thanks,
Julius
Dojo example.
The Window is positioned in the top left corner of its container
If top and left position values are set in pixels instead of percent, positioning works as expected.
The Window is positioned according to the specified top and left values.
The kendoWindow does not appear on top of the kendoDialog, even when explicitly calling .toFront(). The z-index is not being updated correctly to bring the kendoWindow to the front.
The Dialog is displayed over the Window, although the Window toFront() method is used.
The kendoWindow (Dialog 2) should appear on top of the kendoDialog (Dialog 1) when opened, similar to the behavior in version 2024.1.130. When .toFront() is called on the kendoWindow, it should update the z-index appropriately and bring the window to the front, displaying it above all other dialogs/windows.
Workaround:
$("#dialog2").parents('.k-window')[0].style['z-index'] = 12000
Dojo - https://dojo.telerik.com/HmQpGqeB