Hello,
I'm currently working with angular 12 and the syncfusion components.
I have a problem with the ejs-dropdownlist component when it is in a mat-dialog modal.
I use the Chrome browser, console open in mobile mode. When I open my modal, and I select a value in my dropdownlist, the selection popup closes as well as the modal.
therefore, i can't recover the modal's data to process them.
below, an example reproduced on stackblitz: https://stackblitz.com/edit/angular-ivy-q8aqbn
thank you for your answers
Regards,
SABRE Thomas
|
(DropDownList as any).prototype.onMouseClick = function (e) {
let target: Element = <Element>e.target;
let classList: DOMTokenList = target.classList;
let li: HTMLElement = <HTMLElement>closest(target, '.' + 'e-list-item');
if (!this.isValidLI(li)) {
return;
}
this.setSelection(li, e);
if (Browser.isDevice && this.isFilterLayout()) {
var delay = 100;
this.closePopup(delay);
} else {
let delay: number = 100;
this.closePopup(delay);
}
}; |
Hello,
Thank you for the answer, everything work perfectly.
Regards