title: How to make primefaces inputTextArea fit to text?
body: <p>i'm trying to make <code>&lt;p:inputTextArea/&gt;</code> looks better, now when page is loaded i can see: <img src="https://i.stack.imgur.com/UUPha.jpg" alt="enter image description here"></p>
  
  <p>and when i click that <code>TextArea</code> : 
  <img src="https://i.stack.imgur.com/WU1MG.jpg" alt="enter image description here"></p>
  
  <p>here is the code:<br>
  <code>&lt;p:inputTextarea rows="6" value="#{bean.object.value}"style="width: 100%;" /&gt;</code> </p>
  
  <p>How can i make that area would adjust its size to text ? <code>rows="6"</code> is working for a little data but it looks terrible when more chars are written</p>