Textinput autogrow: Provide refresh() method so the height of the textarea can be computed as soon as it is shown. Re: #6365.