devextreme-angular
devextreme-angular copied to clipboard
Angular Gantt Chart: Browser hangs if drawing gantt chart with dependencies
Bug Report
Package versions:
devexteme version: 21.1.5
devextreme-angular version: 21.1.5
angular version: 12.2.1
Steps to reproduce:
- Create angular application and add devextreme to your app
- Use code example "overview" from devextreme angular gantt website https://js.devexpress.com/Demos/WidgetsGallery/Demo/Gantt/Overview/Angular/Light/
- call 'ng serve -o'
- Browser opens and hangs infinitely (safari, chrome), no gantt is rendered
II was able to isolate the problem: If I remove depencies datasource from app.component.html, everything works fine, gantt chart is drawn but without drawing dependency arrows of cource. I reduced the example to only a single dependency but that did not help.
So remove this from app.component.html and the example works: <dxo-dependencies [dataSource]="dependencies">
Current behavior:
browser hangs / is not responding any more
Expected behavior:
showing the example gantt chart with dependency arrows
Downgrading devExtreme and devextreme-angular to Version 20.2.9 solved the problem. So it's a bug of version 21.1.5.