ng-flowchart icon indicating copy to clipboard operation
ng-flowchart copied to clipboard

NgIf Issue

Open tanishkab opened this issue 3 years ago • 3 comments

I face issue when I use this using *ngIf , as when I use it conditionally it doesnt work properly , it lags until I scroll or do something on screen

tanishkab avatar Jan 11 '22 09:01 tanishkab

It sounds like you need to trigger change detection, or maybe even rerender() canvas.

michaelmarcuccio avatar Jan 18 '22 22:01 michaelmarcuccio

@tanishkab Can you also check if change detection is set to push in your component that has the canvas?

joel-wenzel avatar Jan 21 '22 03:01 joel-wenzel

@michaelmarcuccio Yeah, I triggered change detection to solve this issue @joel-wenzel No, it wasn't set to push.

tanishkab avatar Jan 22 '22 14:01 tanishkab