I've encountered an issue upgrading to PrimeFaces 11 with the p:dialog component. When I specify a value for the position attribute, the dialog scrolls with the rest of page rather than holding its position fixed within the viewport. I'm creating the dialog with the following attributes:
Code: Select all
<p:dialog visible="true" focus="search-form:hidden-fix-for-focus"
closable="false" fitViewport="true"
modal="false" header="Search Parameters"
height="600" width="300"
positionType="fixed"
position="0, 350" minimizable="true" >
https://www.primefaces.org/showcase/ui/ ... fwid=d00bc
In either PrimeFaces 8.0 and PrimeFaces 10.0, this issue does not present itself and the dialog remains fixed within the view as the rest of the page scrolls. As a possibly related issue, in PrimeFaces 11, I can drag the dialog anywhere on the page, but on scrolling the view, the dialog moves back to its originally specified position (e.g. "0,350"). This is undesirable and also does not happen in either PrimeFaces 8 or 10, where the dialog holds its new dragged, fixed position while the page is scrolled.
I am running WildFly 23 with Mojarra JSF implementation jsf-impl-2.3.14.SP04.jar and Java 11.0.6+10-LTS and testing with Firefox 95.0.2 64-bit. Please let me know if I can provide any additional details.
Thank you,
-Andy