#43719·material-ui

[TextareaAutosize] 支持最大高度

作者: michaldudak创建于 2024年1月15日更新于 2026年9月28日
标签type: bugscope: text fieldcomponent: TextareaAutosizehas workaround

应该可以在 TextareaAutosize 上设置最大高度,然后在达到该高度后进行滚动。但该组件在样式标签中隐藏了溢出内容,因此这是不可能的。

内容来源: mui/material-ui