ElemeFE / ElemeFE/element

[bug report] El input textarea type autosize maxRows prop does not work

Open
#20,772 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.