I also create a StackBiz to reproduce this problem: https://stackblitz.com/edit/github-renwtm
Code: Select all
<p-panel>
<p-header>
<span i18n style="float: left; line-height: 24px;">Test Panel</span>
<a style="float:right;" (click)="op.toggle($event)">
<i class="nmc-icon-align material-icons">more_vert</i>
</a>
<div style="clear: both;"></div>
</p-header>
</p-panel>
<p-overlayPanel #op styleClass="noPaddingOverlay">
<ul class="ultima-menu animated fadeInDown">
<li role="menuitem">
<a (click)="op.hide()">
<i class="material-icons">delete</i>
<span i18n>Delete</span>
</a>
</li>
</ul>
</p-overlayPanel>