I have used context menu with different condition using [visible] but in some condition i am not showing any context menu then blank menu is coming which need to hide . i have tried with *ngIf condition but same issue occured

<context-menu>
<ng-template [visisble]="condition" contextMenuItem (execute)="getCall($event)">Context menu 1</ng-template>
<context-menu>
please find screenshot and suggest me some solution