我有一个动态更新的禁用 textarea 控件,但在这种情况下没有出现垂直滚动条。我该如何解决?
.clsTextArea{
height: 100px;
max-height: 100px;
}
<textarea class="clsTextArea" disabled></textarea>
像这样尝试:
.clsTextArea {
height: 100px;
max-height: 100px;
overflow-y: scroll;
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句