Declined
Last Updated: 02 Mar 2021 15:34 by ADMIN
Albert
Created on: 16 Apr 2019 08:43
Category: Kendo UI for jQuery
Type: Bug Report
1
Kendo Window Modal k-overlay not cleaned up

https://dojo.telerik.com/aPAcUDuc/2

 

open new window using the button, and close all window one by one, then see that k-overlay is still stay in page

Attached Files:
2 comments
ADMIN
Dimitar
Posted on: 23 Apr 2019 08:00
Hello Albert,

In general, the Window containment functionality is not intended to work in combination with the modal option. This is the case, as the containment is supposed to constrain the Window in a certain bounds and this is not suitable for scenarios where there is a modal overlay on the page. We will update the documentation to outline this specific use case of the options.

Taking the above into consideration, I would suggest to use the containment with the modal option set to false. However, in case you would like to preserve the modal option and keep the current behavior, you could subscribe to the Window close event, query the document body for ".k-overlay" and if one is found - remove it. This will take care of the overlay issue for the specific Window implementation.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Albert
Posted on: 16 Apr 2019 08:47
forgot to mention it only happened if "containment:" have value