title: Make size of the popup large enough to contain its element
body: <p>I'm on <code>RichFAces 4.5.2.Final, JSF 2.1</code>. I need to make a popupPanel auto-adjustable to any change of embedded textAreas. Let's consider the following markup:</p>
  
  <pre><code>&lt;rich:popupPanel id="editMailingTemplatePopup"  autosized="true"&gt;
      &lt;h:inputTextarea value="#{editMailingTemplateController.template.name}" maxlength="128" size="80" /&gt;
  &lt;/rich:popupPanel&gt;
  </code></pre>
  
  <p>When I try to change the size of the <code>textArea</code> the size of the popupPanel is not being changed in spite of setting <code>autosized</code> attribute to true. Is it a solvable problem within <code>JSF/RichFaces</code> context or I should write javascript code?</p>