Reputation: 3
I created a p:textArea with autoResize=true (default).The text area should start re-sizing once the content exceeds the described row size. It is not re-sizing and scroll bar is also not showing up, instead the text is stacking up and the height of the input text area also not changing.
<p:inputTextarea id="bldgNotes" rows="3" cols="40" counter="counter" maxlength="2550" style="width:96%" counterTemplate="{0} characters remaining." autoResize="true" value="#{buildingBean.originalBuilding.buildingNote}" />
This image shows that auto resize is not happening
Upvotes: 0
Views: 1178
Reputation: 65
This is a css issue. Check the HTML output and act accordingly.
mouse on element -> right click -> inspect and check around the classes there might be something like this :
resize: none;
or
overflow:
Upvotes: 1