DevExpress / devextreme-angular

Angular UI and data visualization components
https://js.devexpress.com/Demos/
MIT License
561 stars 159 forks source link

Angular Gantt Chart: Browser hangs if drawing gantt chart with dependencies #1199

Open tkr4711 opened 3 years ago

tkr4711 commented 3 years ago

Bug Report

Package versions:

devexteme version: 21.1.5
devextreme-angular version: 21.1.5
angular version: 12.2.1

Steps to reproduce:

  1. Create angular application and add devextreme to your app
  2. Use code example "overview" from devextreme angular gantt website https://js.devexpress.com/Demos/WidgetsGallery/Demo/Gantt/Overview/Angular/Light/
  3. call 'ng serve -o'
  4. 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

tkr4711 commented 3 years ago

Downgrading devExtreme and devextreme-angular to Version 20.2.9 solved the problem. So it's a bug of version 21.1.5.