I am having a weird issue with PrimeFaces 3.0.RC1 related to modal dialogs and elements behind the overlay: when the dialog is displayed, mouse selection of the fields behind the overlay is unavailable but I am able to tab, and even enter text, into the inputText fields underneath the dialog. The funny thing is it works as expected under 3.0.M3. Here is some test code that replicates the behaviour:
Code: Select all
<h:form>
<h:panelGrid columns="1">
<h:outputText value="Current user:"/>
<p:commandLink onclick="confirmation.show()" value="Log Out" type="button"/>
<p:inputText />
<p:inputText />
<p:inputText />
<p:inputText />
</h:panelGrid>
</h:form>
<p:confirmDialog appendToBody="true" id="logoutConfirmation" closable="false" message="Are you sure you want to log out?" header="Log Out" widgetVar="confirmation">
<h:form>
<p:commandButton value="Cancel" onclick="confirmation.hide();" type="button"/>
<p:commandButton style="float:right;" value="Log Out" actionListener="#{login.logout()}" oncomplete="confirmation.hide()"/>
</h:form>
</p:confirmDialog>
I am using GlassFish 3.1.1/Mojarra 2.1.3.
Any help or insight would be greatly appreciated.
EDIT: In doing more testing and with some other feedback, I am thinking this is a bug with PF. I am thinking I should open an issue in the tracker?
Cheers,
Chris