Hi,
I'm running into a javascript error from the code in Essential J2 2 (latest version 16.4.44). I'm using the Grid, with Dialog and Tabs.
When I use a Dialog with an html template, with a TEXTAREA element in a Tab object, when I switch tabs, sidebar.js causes in error in the TriggerAnimation method
"Cannot read property 'id' of undefined."
The error happens at that line in node_modules\@syncfusion\ej2-navigations\dist\es6\ej2-navigations.es2015.js:
this.prevActiveEle = newCnt.id;
where newCnt can be sometimes undefined.
I have provided a reproducing sample. My template looks like this:
<div id='tab_html_markup'>
<div class='e-tab-header'>
<div>General</div>
<div>Other</div>
</div>
<div class='e-content'>
<div>
<div>
<div>
<div>
<textarea />
</div>
</div>
</div>
</div>
<div>
<div>
<div>
</div>
</div>
</div>
</div>
</div>
If you replace the <textarea> by <input> for example, it works fine.
Thanks.
Attachment:
WebApplication5_bb57c10f.zip