EJ2 Kanban: Preventing dialog leaves artifact breaking dialog templates

With a dialog template on a kanban object, if you do do args.cancel=true onDialogOpen, it leaves the following artifact behind thus breaking the next dialog window attempted to open.


<div class="e-dlg-container e-dlg-center-center" style="z-index: 10000007;">.....

Adding this after args.cancel=true, resolves the issue as a workaround:

$('.e-dlg-container.e-dlg-center-center').remove();

2 Replies

RK Revanth Krishnan Syncfusion Team May 20, 2021 01:19 PM UTC

Hi Mark, 
 
 
Greetings from Syncfusion support. 
 
  
We have validated your query and the issue occurred because the dialog element is not removed, we are glad that you found the workaround solution. 
 
We have also considered “Kanban edit dialog element not removed when 'args.cancel' is set to true on 'onDialogOpen' event” as a bug from our end and logged the report for the same and it will be included in the patch release on 1st June 2021. 
     
You can now track the current status of the report, review the proposed resolution timeline, and contact us for any further inquiries through this link: https://www.syncfusion.com/feedback/25535 
   
Regards,   
Revanth 



RK Revanth Krishnan Syncfusion Team June 2, 2021 03:08 PM UTC

Hi Mark, 
 
 
Thanks for the patience. 
 
 
We have resolved the reported issue “Kanban edit dialog element not removed when 'args.cancel' is set to true on 'onDialogOpen' event” with the package version 19.1.66.      
Can you please upgrade your package to this version to resolve the issue on your end? 
 
 
 
Regards, 
Revanth 


Loader.
Up arrow icon