JSFiddle - React, Tailwind, and code Playground
HTML
<textarea id="myTextArea">Test
</textarea>
JavaScript
$("#myTextArea").focus(function(e) {
if($(this).height() == 75) return;
$(this).animate({ height: 75}, "normal", function() {
$(this).blur().trigger(e);
});
});