如何防止textarea进入页脚?如何防止autosize textarea进入带有固定/ Z-Index页脚的页脚?
的jsfiddle:https://jsfiddle.net/uqhh05en/
var coola = {
init: function() {
autosize(document.querySelectorAll('textarea'));
$("textarea").keyup(function(e) {
//Tried a hack for not autogrow below footer
$('.footer').focus();
$(this).focus();
});
}
};
$(coola.init);
插件:http://www.jacklmoore.com/autosize
注意:没有固定的行和列数允许的textarea。
注意:否允许固定高度。我想调整大小并随着文本的增加而调整大小。
这样做没有任何反应。它仍然隐藏 – fatherazrael