Duplicated
Last Updated: 20 Oct 2023 14:06 by ADMIN
Bhavna
Created on: 14 Oct 2023 04:21
Category: DatePicker
Type: Bug Report
0
Datepicker treelist

Hello,

In case when datepicker used inside treelist with kendoTreeListEditTemplate, it is logging the PreventableEvent of datepicker inside the ExpandEvent of treelist.

https://stackblitz.com/edit/angular-5uzbzw?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.module.ts,package.json

Thanks

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Georgi
Posted on: 20 Oct 2023 14:06

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

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources