Hi,
Angular Example – https://stackblitz.com/edit/github-am1v3t?file=src%2Fapp%2Fapp.component.ts
In the above example, I am trying to use dragProject property to drag project along with it’s tasks. It works as expected when the chart’s vertical scroll position is not changed.
- Expand ‘Sub project 1’ and ‘Sub project 2’, You should be able to see ‘Task 1’ and ‘Task 2’.
- Drag ‘Sub project 2’ to left and right. The ‘Task 2’ is dragged along with it and the ‘Project 2’ is synced correctly. (This is as expected).
- Now scroll vertically and again perform the step 2. While dragging ‘Sub project 2’, ‘Task 2’ disappears from chart, ‘Project 2’ remains at it’s original position and a new placeholder element is shown for ‘Project 2’ without the label. There is also a drag restriction added for ‘Sub project 2’ which is not expected.
- Scroll to top and again perform Step 2. Everything works as expected again.
Can you please help on this. I should be able to drag sub project along with it’s tasks irrespective of Chart’s vertical scroll position.