Open ElsaOOo opened 3 years ago
Translation of this issue:
2.15.0
chrome 86
2.6.12
https://github.com/ElemeFE/element/issues/16594
In official documents https://element.eleme.io/#/zh -CN/component/input
A text field with adaptive text height, in which maxRows: 4 is set, but it can still be pulled down without restriction, and maxRows does not take effect
The maxRows value of autosize is set. Textarea should have maxheight
The maxRows value of autosize is set, and textarea has no maxheight
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Element UI version
2.15.0
OS/Browsers version
chrome 86
Vue version
2.6.12
Reproduction Link
https://github.com/ElemeFE/element/issues/16594
Steps to reproduce
官方文档中 https://element.eleme.io/#/zh-CN/component/input 可自适应文本高度的文本域,其中设置了maxRows: 4,但是仍然可以无限制往下拉动,maxRows并没有生效
What is Expected?
设置了autoSize 的 maxRows的值,textArea应该有maxHeight
What is actually happening?
设置了autoSize 的 maxRows的值,textArea并没有maxHeight