Hi,
We recently updated the Syncfusion library to latest version. The Gantt version is 22.2.12.
We mainly use the Gannt with milestones. But it seems that something happen after 20.4.50.
When I drag a milestone in the timeline by one day, and release, the milestone does not get moved to next day. It's kind of working if we drag it for two days or more (but dates are shifted).
Also we noticed that the tooltip that is shown when you drag a milestone, does not show the correct dates in regards to the region where you hover the milestone with the mouse. This happens also in the current version that are in the React Gantt edit demo section that redirects to stackblitz (23.1.36)
We cannot upgrade the libraries for our application until we find a solution for this issue.
Thank you,
Catalin
Hi Mircea,
Greetings from Syncfusion
We have reviewed your query, and we are able to replicate the issue that you’ve reported that milestones are not working as expected in Gantt Chart.
To address the problem, we have logged a bug request, and the fix will be provided in the volume release which is scheduled to be rolled out on October 11th, 2023. you can track its status from the feedback link given below.
Feedback Link: Milestones are not working as expected in Gantt Chart in React | Feedback Portal (syncfusion.com)
Note: To view the above feedback, kindly login into your account.
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
Regards,
Sridharan
Mircea,
Thank you for your patience.
We are glad to announce that fix for the issue “Milestones are not working as expected in Gantt Chart” has been rolled out in our patch release (v23.1.38). So please upgrade to our latest version to resolve the problem.
Release Notes: Essential Studio for EJ2 TypeScript 2023 Weekly Nuget Release Release Notes (syncfusion.com)
Please contact us if you require any further assistance.
Regards,
Sridharan
Hi Sridharan,
I have tested now, but it seems to be the same issue.
I tried also in Stackblitz with the editing demo for Gantt React from the Syncfusion site. I tried with latest available there 23.1.41 and with 23.1.38 (version mentioned in your last post). Both of them have the same issue with the milestones.
Can you confirm it working on your end? I tried with Chrome and Edge.
Regards,
Mircea
Mircea,
According to your query, we have conducted an analysis on our end and have not identified any issues. At our end, milestones are moving correctly, and their tooltip dates are rendering properly based on milestone dragging. For further investigation, we kindly request the following details as mentioned below.
Confirm whether the packages has been upgraded properly without any conflicts.
Sample: Eibxfl (forked) - StackBlitz
Regards,
Sridharan
Hi Sridharan,
Sorry for the late response, now I had time to get back to this.
I attached a video of the issue. Please find also the example: https://stackblitz.com/edit/react-zdjctr?file=index.js
The example is nothing special, just the example from the Edit features in the React Gantt demo section. I just added day numbers instead of alphabetical.
It is happening on 23.1.42 but also in the older versions 23.1.38.
My colleague that handles the UI part, when he tried the fixed version it worked for him, but after some days when I cloned a fresh repo and npm installed the latest packages, it didn't worked for me. So, maybe the fix was there but somebody recompiled unfixed stuff over the versions in NPM or the fix got lost.
I think with certain is that is happening in the official demos as shown in the video and example.
Regards,
Mircea
Mircea,
Based on your query, we understand that the issue is related to the date not updating correctly when dragging a milestone in the Gantt chart. Upon analyzing the situation, we have determined that the tooltip dates are displayed based on the predecessor connections, specifically the 'from' and 'to' dates of the milestone. Points to know are given below.
Query: when I cloned a fresh repo and npm installed the latest packages, it didn't worked for me
For this query, We suspect that some duplicate packages might be installed in your ‘@syncfusion’ folder of ‘node_modules’. Please follow the below steps provided to overcome the reported problem.
Sample: A6csb4 (forked) - StackBlitz
If we misunderstood your query, please share more information about your issue. (explain in detail)
Regards,
Sridharan
Hi Sridharan,
I think the query is misunderstood. In your provided example please try to move the milestone TaskID=8 to day Apr 17, 2019.
Mircea,
Based on your requirement we understood that Milestones are not working as expected in Gantt Chart. Currently we are checking for the feasibility of your requirement at our end and will update you further details by on November 2, 2023.
Regards,
Sridharan
Mircea,
Based on your last response, we clearly understood your requirement. We will let you know the behavior by sharing the video demo details.
Note: Try to drag the milestone task id=2, it is dragged and dropped what you expected because it has no parent predecessor (task id=2 not connected with task id=1 with any dependency)
Since this is default behavior of Gantt Chart’s Milestone behavior.
Regards,
Sridharan
Hi Sridharan,
I just tested having the day working time from 0 to 24. Now it started to work as expected partially, meaning that now when I drag and drop a milestone in a specific date cell, the milestone will drop in that specific cell. Unfortunately now the tooltip is misleading and shows wrong information.
I guess now, with the hours out of the equation, this shows the bug more clearer.
https://stackblitz.com/edit/react-zdjctr-yr7alx?file=index.js
On drag:
After release:
Regards,
Mircea
Hi Mircea,
We have created a new ticket under your account. Please follow-up in the ticket. We are marking this as solved.
Regards,
Shereen