ERROR RangeError: Maximum call stack size exceeded on hide

Hi, I'm using angular version 10 and  syncfusion version 18.
In my project I'm using ejs-daterangepicker  component. 
The problem I'm facing is that.I'm selecting date range and then I'm click on submit.
and on submit I'm closing ejs-daterangepicker component using hide method.
however. I'm getting an error 
ERROR RangeError: Maximum call stack size exceeded  on hide.



my.html file
<ejs-daterangepicker
#picker
(open)="onOpen($event)"
[allowEdit]="allowEdit"
[strictMode]="strictMode"
[startDate]="startDate"
[endDate]="endDate"
(select)="onSelect($event)"
[placeholder]="placeholder"
[formControl]="control"
(cleared)="onCleared($event)"
dayHeaderFormat="Narrow"
(renderDayCell)="onLoad($event)"
[openOnFocus]="openCalendarOnFocus"
(close)="onClose()"
[format]="format"
></ejs-daterangepicker>

my.component.ts

@ViewChild('picker') picker: DateRangePickerComponent;

Submit() {
this.picker.hide();
}
}

1 Reply 1 reply marked as answer

SN Sevvandhi Nagulan Syncfusion Team April 8, 2021 08:33 AM UTC

Hi Naresh, 


Greetings from Syncfusion support. 


We checked your query of “Maximum call stack size exceeded on hide”. We prepared the sample in mentioned angular and package version using provided code example. But we were unable to replicate the reported issue at our end. We have attached the test sample below for your reference. Kindly refer the below sample. 




Please check the above sample and if the information given does not help you, please provide additional information such as Syncfusion exact package version and a simple issue replicating sample to investigate the issue further at our end.   


Regards, 
Sevvandhi 


Marked as answer
Loader.
Up arrow icon