primeng icon indicating copy to clipboard operation
primeng copied to clipboard

p-dialog not centered in IE and overflows on maximize

Open KevinHtzl opened this issue 6 years ago • 4 comments

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports) No plunkr needed, you can just visite the primeng page https://www.primefaces.org/primeng/#/dialog

Current behavior Open the dialog inside IE, it floats to the right.

Expected behavior Should be centered like in all other browsers. This issue was still fixed in version 8

Minimal reproduction of the problem with instructions image

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Angular version: 9.0.0

  • PrimeNG version: 9.0.0-rc.4

  • Browser: IE 11

KevinHtzl avatar Feb 12 '20 11:02 KevinHtzl

Confirmed with PrimeNG 9.0.4 and Angular 9.1.0 and IE11

The upper left edge of the dialog is in the center. All other positions, e.g. top, work like they should.

MeForThis avatar Apr 01 '20 11:04 MeForThis

@MeForThis realy? But you can see the difference between chrome/Firefox and IE?

KevinHtzl avatar Apr 01 '20 11:04 KevinHtzl

Yes, in the current Firefox and Chrome it works fine. In IE11 it's not in the center.

MeForThis avatar Apr 01 '20 12:04 MeForThis

I have a similar issue on IE and on other browsers (chrome/firefox) on production builds. the overlay also doesn't appear, so the user can still interact with the other buttons on the page.

I'm using the latest version (9.0.5) of primeng and the latest version of angular (9.1.0).

uyt95 avatar Apr 07 '20 15:04 uyt95