Skip to content

Commit

Permalink
Fixed #11173 - Dynamic contextmenu items cause null exception in Cont…
Browse files Browse the repository at this point in the history
…extMenu.positionSubmenu
  • Loading branch information
yigitfindikli committed Feb 11, 2022
1 parent 71d2a79 commit 977ac2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/contextmenu/contextmenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ export class ContextMenu implements AfterViewInit, OnDestroy {
ZIndexUtils.clear(this.containerViewChild.nativeElement);
}

this.clearActiveItem();
this.unbindGlobalListeners();
this.onHide.emit();
}
Expand Down

0 comments on commit 977ac2d

Please sign in to comment.