Autocomplete and Dropdown on Dialog

UI Components for Angular
Post Reply
ilya.c
Posts: 8
Joined: 28 Jun 2017, 13:33

23 Aug 2017, 13:25

Please see the sample http://plnkr.co/edit/PKMzfE4KPfN9VaPjVSFX?p=preview

There are few problems:
  • Dropdown rendered without value in dialog while I do not focus it
  • Dropdown & Autocomplete suggestions are rendered under dialog's footer & also they change dialog's size when shown. It would be great if suggestions would be rendered in front of dialog and would not affect it's size

ilya.c
Posts: 8
Joined: 28 Jun 2017, 13:33

19 Sep 2017, 07:28

Solution is:

Code: Select all

<p-dialog [contentStyle]="{'overflow':'visible'}">
    <p-dropdown></p-dropdown>
</p-dialog>
But why this is not by default (may be this is stupid question, I'm not HTML+CSS master :( )?

kketterman
Posts: 2
Joined: 17 Sep 2017, 06:41

20 Sep 2017, 00:40

I had a similar issue with dropdown. I ended up using grid and set the element to 100%w

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests