[richfaces-issues] [JBoss JIRA] (RF-13710) popupPanel (modal and autosized) doesn't resize then content resizes (eg. after ajax request)

Dariusz M (JIRA) issues at jboss.org
Tue Jul 1 07:08:25 EDT 2014


Dariusz M created RF-13710:
------------------------------

             Summary: popupPanel (modal and autosized) doesn't resize then content resizes (eg. after ajax request)
                 Key: RF-13710
                 URL: https://issues.jboss.org/browse/RF-13710
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: base functionality
    Affects Versions: 4.3.7
            Reporter: Dariusz M


In 4.3.5 it was fine. 
In 4.3.7 popupPanel with autosized has now width and height set in style attribute for div id's "xxx_container" and "xxx_content_scroller" (width and height calculated for current content rendered during show). Therefore when any element in content changes its size, for example validation on "Store" button is done and message components are rendered (with some errors) then popupPanel stay still and doesn't resizes (scrollbars appears in div) because height in _content_scroller is set to fix value (good at the beginning). 
In 4.3.5 height and width in style for popupPanel divs wasn't set (in autosized mode) that's why when content was resized then whole popupPanel was resized automatically. It was nice, especially  when using popupPanel as in dataTable editing example (data changes in single window with validation messages) or when popupPanel is used in a wizard mode (with some steps, each with little different size)



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the richfaces-issues mailing list