Textinput autogrow: Add CSS transition during height calculations when becoming visible in response to a container's manipulation.

Never apply animation in response to popupbeforeposition, because it doesn't work with popups.