Dialog contenStyle bug

UI Components for Angular
Post Reply
ademsis
Posts: 3
Joined: 22 Jun 2018, 13:30

18 Feb 2019, 08:26

Hi PrimeFace Team,

I give contentStyle attribute to Dialog.If user resize by mouse the window is go wrong.

<p-dialog header="Title" [(visible)]="display" [resizable]="true" [contentStyle]="{width:'600px', height:'800px'}">
Content
</p-dialog>

Image

yigitfindikli
Posts: 449
Joined: 08 Aug 2018, 14:09

18 Feb 2019, 14:04

ademsis wrote:
18 Feb 2019, 08:26
Hi PrimeFace Team,

I give contentStyle attribute to Dialog.If user resize by mouse the window is go wrong.

<p-dialog header="Title" [(visible)]="display" [resizable]="true" [contentStyle]="{width:'600px', height:'800px'}">
Content
</p-dialog>

Image
Hi
It's not wrong. Because you give a width and height to content. You can try this;

Code: Select all

 <p-dialog header="Title" [(visible)]="display" [resizable]="true" [style]="{width:'600px'}"  [contentStyle]="{ height:'800px'}">
          Content
      </p-dialog>
Best Regards.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests