Hello,
In case when datepicker used inside treelist with kendoTreeListEditTemplate, it is logging the PreventableEvent of datepicker inside the ExpandEvent of treelist.
Thanks
Hi Bhavna,
Thank you very much for the details provided.
Indeed, similar behavior of the expand and collapse events of the TreeList has been previously reported to us and is a bug on our side that is logged in the following GitHub issue:
https://github.com/telerik/kendo-angular/issues/3871
I have added a comment to the issue to indicate that the same bug is present with components that are placed inside the EditTemplateDirective. What I would suggest would be to subscribe to the issue in order to track how the resolution process is progressing.
In the meantime, a possible workaround would be for the developer to handle the close event of the DatePicker and use the stopPropagation() method:
close(event) {
event.stopPropagation();
}
To better illustrate the suggested approach, I am sending you a StackBlitz demo that implements it:
https://stackblitz.com/edit/angular-5uzbzw-uwcgi3
In the lines of words I would like to apologize for any inconveniences that this unexpected behavior might have caused.
Please, do not hesitate to reach out if any further details are needed.
Regards,
Georgi
Progress Telerik