]
Brian Leathem updated RF-13710:
-------------------------------
Fix Version/s: 4.3.8
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
Fix For: 4.3.8
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)