Skip to content

Commit 21d5dac

Browse files
author
Robert Meyer
committed
fix: expand/collapse after switching view
1 parent 2cfe5ce commit 21d5dac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/gantt/src/gantt.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ export class NgxGanttComponent extends GanttUpper implements OnInit, OnChanges,
389389

390390
override changeView(type: GanttViewType) {
391391
super.changeView(type);
392+
this.buildFlatItems();
392393
this.viewportItems = this.flatItems.slice(this.rangeStart, this.rangeEnd);
393394
this.computeTempDataRefs();
394395
}

0 commit comments

Comments
 (0)