- Home
- Forum
- Angular - EJ 2
- Issue with resizing text in a component
Issue with resizing text in a component
We encountered an issue with the Diagram component from @syncfusion/ej2-angular-diagrams
Problem
When I enable the option to move the text of a component and resize it, upon loading the diagram from the JSON, it ends up losing the dimensions.
Environment
- Library Version: @syncfusion/ej2-angular-diagrams
- Framework: Angular
Steps to Reproduce
- Create any object and add text to it.
- Check "Move text" and move the text.
- Resize the text to specific size.
- Save the diagram and load after.
We appreciate your assistance in resolving this issue.
Attachment: src_873fc47c.zip
Hi,
We were unable to run the sample you have shared due to missing of the package.json file. But we have created the stackblitz sample by using the code-snippet shared by you but we were unable to replicate the issue. Please refer to the below sample and video. If you still face the issue, then modify the below sample and provide us along with replication steps to validate the issue further from our side.
Sample:
Regards,
Vivisa
Attachment: text_save_and_load_2a9cf4b6.zip
Sorry for the mistake,
I previously tried using Stackblitz, but it was not able to render the <ejs-diagram>
Attached is a gif of the issue, using your stackblitz example.
In some cases, the text is configured based on this size, and when it is saved and then loaded again, it ends up getting misaligned because the size doesn't load correctly.
Attachment: text_save_load_issue_1d00715b.zip
Hi,
We able to replicate the issue at our end. We will validate and update you with more details on September 17,2024.
Regards,
Vivisa
Best regards.
Hi Bruno,
Reported Issue : Annotation Wrapper updates wrongly after save and load
We can reproduce the issue and confirmed this as a defect. We have logged a defect report for this issue. We will fix this issue and provide the patch on October 8th 2024 weekly patch release.
Feedback link: Annotation size not preserved properly after save and load in Angular | Feedback Portal (syncfusion.com)
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.
Best Regards,
Moulidharan
Hi,
As promised, we will fix this issue and provide the patch in the weekly release on October 8, 2024.
Regards,
Moulidharan
Hi Bruno,
Reported issue: Annotation Wrapper updates wrongly after save and load
We have fixed the reported issue and included it in our latest patch release which is rolled out successfully.
Please upgrade to the latest version (v27.1.52) packages of the diagram to resolve this issue.
https://www.npmjs.com/package/@syncfusion/ej2-diagrams
Regards,
Moulidharan
Thank you for the notice. I will update and test it during this week, and I'll get back in touch if I have any problems or questions.
Hi Bruno,
Thank you for the update. Please test it and get back to us. We will await your response.
Regards,
Preethi R
- 10 Replies
- 4 Participants
-
BG Bruno Guerra Vieira
- Sep 11, 2024 05:42 PM UTC
- Oct 9, 2024 05:15 AM UTC