Hi,
Can anyone try this and possibly suggest code that does work?
In v5.4 I have a form with Text Area controls which adds a new line as a user types and the text area grows. It was done with a Data Label (set to literal) and with the expression:
<script>$("textarea").keyup(function(e) { while($(this).outerHeight() < this.scrollHeight + parseFloat($(this).css("borderTopWidth")) + parseFloat($(this).css("borderBottomWidth"))) { $(this).height($(this).height()+1); };});</script>
But since upgrading to K2 v5.7, as soon as user types one letter of text in the text area, the whole form hangs for another 10 seconds, then makes the text area 10000x tall and then lets you continue typing.
Is there a tweak that can done to the code so it works in v5.7 so that it grows as the user types (as it does in 5.4)
Thanks