[JBoss JIRA] Created: (RF-8224) Richfaces 3.3.1+ : richfaces calendar popup closes on clicking the scrollbar of the window
by Indu K (JIRA)
Richfaces 3.3.1+ : richfaces calendar popup closes on clicking the scrollbar of the window
------------------------------------------------------------------------------------------
Key: RF-8224
URL: https://jira.jboss.org/jira/browse/RF-8224
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component
Affects Versions: 3.3.1
Reporter: Indu K
When a richfaces calendar popup is opened in a richfaces modal panel with scrollbar and the user tries to scroll using the scrollbar of the modal panel to view the rest of the calendar popup, the calendar popup closes. This was working fine in 3.2.2 version of richfaces (it remained open and the user could scroll down the modal panel and view the calendar popup). It's also broken in 3.3.2 version.
Sample code:
<rich:modalPanel id="panel" width="350" height="200">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Modal Panel"></h:outputText>
</h:panelGroup>
</f:facet>
<!-- Content -->
<div style="height:300px; overflow:auto" >
<h:panelGrid columns="1">
<h:outputText value="Beginning of the modal" />
<rich:calendar value="#{calendarBean.selectedDate}"
style="width:200px"
oncollapse="console.log('calendar collapsed')"/>
<rich:spacer height="1200px"/>
<h:outputText value="End of the modal" />
</h:panelGrid>
</div>
</rich:modalPanel>
<h:outputLink value="#" id="link">
Show Modal Panel
<rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
</h:outputLink>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months