We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem to set template as annotation

Thread ID:





146839 Aug 22,2019 09:32 AM UTC Aug 23,2019 05:24 AM UTC React - EJ 2 1
Tags: Diagram
Asked On August 22, 2019 09:32 AM UTC


I am trying to set a template as an annotation just like in the documentation https://ej2.syncfusion.com/react/documentation/diagram/labels/  but the diagram just crashes.

The bug is shown here : https://stackblitz.com/edit/react-z5qvwa 

Thank you for your answer.

Shyam G [Syncfusion]
Replied On August 23, 2019 05:24 AM UTC

Hi Peter, 

You have set the same id for diagram component and div element. So only, the diagram is not rendered. We have modified the sample to solve your issue by setting different id as shown in the screenshot below. We will do changes in react documentation and let you know once it is refreshed online. 


Shyam G 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon