primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Dialog width is not responsive

Open buddyackerman opened this issue 10 years ago • 11 comments

When the dialog has the responsive attribute set to true, it's not responding to screen size differences. If the initial width is not specifically set the dialog defaults to 300px regardless of the content width and never changes size. If the width is set it stays that width regardless of screen/window size.

buddyackerman avatar Aug 15 '16 15:08 buddyackerman

+1

Azema avatar Sep 15 '16 08:09 Azema

Experiencing same issue

mp4383 avatar Sep 15 '16 20:09 mp4383

I posted this issue on the PrimeNG forum prior to posting the issue here and it's received no attention. Along with the other issue I posted about the dialog control the dialog is barely usable. Also, I don't hink these are things that would be hard to get fixed. In fact some on the PNG forum posted a fix to the manual resize issue that I have to apply every time I update to a new version.

buddyackerman avatar Sep 15 '16 21:09 buddyackerman

Yes we are experiencing the same issue!

tobiasfiechter avatar Nov 01 '16 15:11 tobiasfiechter

Same issue, it needs to be fixed

xyz765 avatar Nov 12 '16 07:11 xyz765

1262 changes dialog width to auto, will this help this case where you can now add custom breakpoints;

@media screen and (max-width: 40em) {
    .ui-dialog.ui-dialog-responsive {
        width: 90% !important;
    }
}

cagataycivici avatar Nov 13 '16 08:11 cagataycivici

imo p-dialog is a joke, @whoever_is_maintaining_this

bickycheese avatar May 10 '17 13:05 bickycheese

Just switched over to p-dialog after using ng-bootstraps modal and I'm regretting it - experiencing a whole host of issues, many of which i had to solve after much trial and error with extremely shoddy CSS hacks. this component needs desperate and immediate attention

dhniels avatar May 23 '17 19:05 dhniels

This is still an issue. The dialog is not responsive.

pkharris avatar May 26 '18 03:05 pkharris

if use the "p-table" with responsive for the first moment doenst work even with responsive attribute in "p-dialog". Being necessary to resize window width. But if, removes the width attribute , works fine, but the problem becomes another. In big screens the dialog fill the width, getting horrible. "primeng": "^6.1.3",

Faqtt0 avatar Sep 04 '18 20:09 Faqtt0

hello, i have a problem with primeng, when i build my project with (ng build) , the application is not more responsive as it was in test mode can give me a solution pls

self-ads avatar Sep 12 '19 09:09 self-ads