Re-render issue

I am developing an Angular application using EJS Gantt Chart.There is no issue when the Gantt chart is rendered for the first time; the chart is created successfully. When switching between tabs, the following code block in the svg-renderer.js class of EJS Gantt falls into a null state, causing the Gantt chart to disappear from the page.


var element = document.getElementById(this.rootId);

var size = !isNullOrUndefined(element) ? element.getBoundingClientRect() : null;

How can I resolve this issue?

Image_6167_1738150492518

Image_1771_1738150688361



1 Reply

AG Ajithkumar Gopalakrishnan Syncfusion Team January 30, 2025 12:45 PM UTC

Hi Senay,

 

Greetings from Syncfusion Support,

 

We have attempted to replicate the reported issue on our end based on the shared details, but we were unable to reproduce the issue. We have attached a video reference for your review.

 

Video reference is attached as a ZIP file.

 

We have tested the scenario using a Tab component inside the Gantt chart, switching between tabs with and without virtualization enabled. However, the reported issue did not occur on our end.

 

To assist you better, we kindly request you to provide more information to help us identify the cause of the issue. Please share the following details:
 

  • The complete code snippet of the Gantt chart along with package version details.
  • We noticed the attached image showing the Tab component used in your application. Please share the code details of Tab component that you have used.
  • A video demonstration of the issue, including the steps to reproduce it.
  • If any customizations applied in your application, such as templates or dynamic property changes share the details.
  • Details about the dataSource, including its structure and  dummy data sample similar to your application’s data.
  • If possible, replicate the issue using our sample and share the relevant details.

 

Sample link: https://stackblitz.com/edit/angular-wm5g9tq7-kym4ns4v?file=src%2Fapp.component.ts,src%2Fapp.component.html

 

Once we receive this information, we will be better equipped to identify the root cause of the issue and provide you with the necessary assistance.


Regards,
Ajithkumar G



Attachment: tab_1fe96029.zip

Loader.
Up arrow icon