I understand that appendTo is supposed to allow us to attach the overlay containing the choices to the body (for example) to avoid it being trimmed by the dropdown component's container boundaries.
It seems that this option is now (beta 20) affecting the control itself, not just the overlay. I put the dropdown component in a form in a dialog with appendTo="body", and I find the control at the bottom of the body (totally out of sight in a long page...) instead of where it should appear in the dialog.
dropdown appendTo="body" attaches control itself to body
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I will check and reply.
Any updates to this issue?
In my case, the overlay is going behind the dialog.
In my case, the overlay is going behind the dialog.
Code: Select all
<p-dropdown [options]="allStatus" [(ngModel)]="status" formControlName="status" autoWidth appendTo="body"></p-dropdown>
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Yes, I also could not replicate it today.
IE is not even fully supported by angular itself...
-
- Information
-
Who is online
Users browsing this forum: No registered users and 20 guests