Fórum

[workaround] Primefaces Dialog moved on resize

Christophe Noel, modificado 9 Anos atrás.

[workaround] Primefaces Dialog moved on resize

Junior Member Postagens: 99 Data de Entrada: 28/09/12 Postagens Recentes
Dear all,

Just to report a workaround to the people facing the Primefaces dialog moved on resize (seems to occur in some situations).
I noticed that the root cause (in similar issue) was the element style position which becomes absolute on resize.

As a workaround I redefine a css class as follow:
.ui-dialog {
position: fixed !important;
}

Works with PF 5.0 CE / Liferay 6.2 / Cupertino.
I hope not too embarassing side effect...

Hope it helps.
thumbnail
Vernon Singleton, modificado 9 Anos atrás.

RE: [workaround] Primefaces Dialog moved on resize

Expert Postagens: 315 Data de Entrada: 14/01/13 Postagens Recentes
Thank you for helping our community!