-
1. Re: Autosize stopped working after upgrading to 4.3.7
michpetrov Jun 2, 2014 4:45 AM (in response to strannik)And here we were, hoping we caught all the bugs. :/ I assume you're refreshing the table while the panel is open, does it work without the <ui:include>?
-
2. Re: Autosize stopped working after upgrading to 4.3.7
strannik Jun 2, 2014 5:15 AM (in response to michpetrov)Hi, Michal
Thank you for the quick response.
I have another popupPanel without <ui:include> but with two rich:dataTable components which are refreshed dynamically.
popupPanel is not resized there as well.
-
3. Re: Re: Autosize stopped working after upgrading to 4.3.7
michpetrov Jun 2, 2014 8:37 AM (in response to strannik)1 of 1 people found this helpfulI've checked with 4.3.6.Final and the auto-resizing seems to be an unintended (although beneficial) behavior. And the panel shadow doesn't resize at all, does it for you?
Anyway, the panel can be forced to resize using this:
panel.doResizeOrMove(RichFaces.ui.PopupPanel.Sizer.Diff.EMPTY);
-
4. Re: Re: Autosize stopped working after upgrading to 4.3.7
strannik Jun 2, 2014 2:13 PM (in response to michpetrov)Thank you, Michal.
The shadow doesn't work properly in 4.3.6 but auto-resizing works.
I will check if it suggested workaround work for my case but in any case would it possible to provide fix in the next version ?
-
5. Re: Autosize stopped working after upgrading to 4.3.7
jhuska Jun 3, 2014 5:37 AM (in response to strannik)1 of 1 people found this helpfulI have reproduced the issue mentioned here and created [RF-13655] Popup Panel autosize does not work when its content is dynamically updated - JBoss Issue Tracker
The proposed workaround does not work fully, when applied the popupPanel changes its height according to its content, however also decreases its width (not taking the content width into account).
-
6. Re: Autosize stopped working after upgrading to 4.3.7
strannik Jun 3, 2014 6:54 AM (in response to strannik)Thank you, Michal.
Hopefully it will be fixed in one of the next versions.