Fórum
DXP: Primefaces Dialog sticks at viewport border
Gunnar Brinkmann, modificado 6 Anos atrás.
DXP: Primefaces Dialog sticks at viewport border
Junior Member Postagens: 53 Data de Entrada: 02/12/11 Postagens Recentes
Hello,
is this behaviour and problem already known and solved? No success searching the web.
A Primefaces Dialog sticks at the right viewport border, with and without Primefaces-attributes like position or fitViewport.
No JS-errors in the browser console.
When I move the dialog, it is getting wider but keeps sticking.
Current versions are DXP Fixpack 32, Bridge API 4.1.0 and Primefaces 6.1.4
Regards,
Gunnar
is this behaviour and problem already known and solved? No success searching the web.
A Primefaces Dialog sticks at the right viewport border, with and without Primefaces-attributes like position or fitViewport.
No JS-errors in the browser console.
When I move the dialog, it is getting wider but keeps sticking.
Current versions are DXP Fixpack 32, Bridge API 4.1.0 and Primefaces 6.1.4
Regards,
Gunnar
Gunnar Brinkmann, modificado 6 Anos atrás.
RE: DXP: Primefaces Dialog sticks at viewport border (Resposta)
Junior Member Postagens: 53 Data de Entrada: 02/12/11 Postagens Recentes
After I've seen that this does not happen to every dialog, I remembered reading something about datatables in dialogs.
The problem happens with a dialog containing a datatable.
Disabling 100% width for ".ui-datatable table" fixes the problem.
Note: Don't deactivate it globally since it effects all datatables. To deactivate it globally for dialogs, use
Regards,
Gunnar
The problem happens with a dialog containing a datatable.
Disabling 100% width for ".ui-datatable table" fixes the problem.
Note: Don't deactivate it globally since it effects all datatables. To deactivate it globally for dialogs, use
.ui-dialog-content .ui-datatable table {
width: auto;
}
Regards,
Gunnar