Hi all,
I'm using a viewcanvas to list a set of views with a text area, in some ways like a feed/blog entry. I'd like to have the text field adjust the height to match the content text. The canvas will add scrollbars when needed.
Using a factor to the character count it sort of works, but I need to include component width as the resolution is not the same every time. Wrap is enabled. It has to be a TextArea to view the text correctly. markdown did not suit the application.
Can't find any setting to do this. Is there a way to do this that I don't see?
if((len({this.props.text})/2.5)+"px"<40,"40px",(len({this.props.text})/2.5)+"px")