Skip to content

Commit

Permalink
Fix primefaces#13201 - OverlayPanel: Incorrect position when inside o…
Browse files Browse the repository at this point in the history
…f dialog in 16.0.0 (did not happen in rc2)
  • Loading branch information
gucal authored and steve3d committed Aug 28, 2023
1 parent d20b82f commit 031b177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/overlaypanel/overlaypanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import { OverlayService, PrimeNGConfig, PrimeTemplate, SharedModule } from 'prim
import { ConnectedOverlayScrollHandler, DomHandler } from 'primeng/dom';
import { TimesIcon } from 'primeng/icons/times';
import { RippleModule } from 'primeng/ripple';
import { Nullable, VoidListener } from 'primeng/ts-helpers';
import { ZIndexUtils } from 'primeng/utils';
import { Subscription } from 'rxjs';
import { Nullable, VoidListener } from 'primeng/ts-helpers';
/**
* OverlayPanel is a container component positioned as connected to its target.
* @group Components
Expand Down Expand Up @@ -115,7 +115,7 @@ export class OverlayPanel implements AfterContentInit, OnDestroy {
* Target element to attach the panel, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name).
* @group Props
*/
@Input() appendTo: HTMLElement | ElementRef | TemplateRef<any> | string | null | undefined | any;
@Input() appendTo: HTMLElement | ElementRef | TemplateRef<any> | string | null | undefined | any = 'body';
/**
* Whether to automatically manage layering.
* @group Props
Expand Down

0 comments on commit 031b177

Please sign in to comment.