Overlay directives
Explicit psd* attributes for Menu, Popover, DatePicker, SplitButton, TieredMenu, InputMask, MegaMenu, and Menubar, plus a DomHandler scroll-parent patch for many “no directive” overlays.
Overlay guide
Fix outside-click, scroll parents, and related overlay bugs when PrimeNG runs under ViewEncapsulation.ShadowDom or custom elements. On PrimeNG 22, theme CSS is shared upstream, so this package focuses on overlay behavior.
npm install primeng-shadowdom-directives@^22.0.0yarn add primeng-shadowdom-directives@^22.0.0Peer dependencies: @angular/core / @angular/common and primeng at the same major. See Installation.
import { PrimeNGShadowDOMDirective } from 'primeng-shadowdom-directives';
@NgModule({
imports: [PrimeNGShadowDOMDirective],
})
export class AppModule {}<p-menu [popup]="true" psdMenu></p-menu>
<p-popover psdPopover>...</p-popover>
<p-datepicker psdDatePicker></p-datepicker>