Skip to content

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

Open
@tkr4711

Description

@tkr4711

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions