The trigger('updateHeight') doesn't work in my web app when I'm using it in chrome or the javafx browser but is ok in firefox. (It works with a simple example.)
I could solve it by changing the setHeightAndOverflow function by setting again the lineheight (because it was NaN).
function setHeightAndOverflow(){
lineHeight = parseInt($textarea.css('line-height'), 10) || parseInt($textarea.css('font-size'), 10);
var cloneHeight = $clone.height();
var overflow = 'hidden';
var height = hasBoxModel ? cloneHeight + lineHeight + heightCompensation : cloneHeight + lineHeight;
if (height > maxheight) {
height = maxheight;
overflow = 'auto';
} else if (height < minheight) {
height = minheight;
}
if ($textarea.height() !== height) {
$textarea.css({'overflow': overflow, 'height': height + 'px'});
}
}
Regards
The trigger('updateHeight') doesn't work in my web app when I'm using it in chrome or the javafx browser but is ok in firefox. (It works with a simple example.)
I could solve it by changing the setHeightAndOverflow function by setting again the lineheight (because it was NaN).
Regards