Skip to content

modal中设置auto-size的textarea的高度在首次打开和二次打开modal时不一致 #2974

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
NoTalk-ly opened this issue Oct 13, 2020 · 3 comments
Closed
1 task done
Assignees
Labels
1.x version 1.x Accept You are right, we should do that bug outdated

Comments

@NoTalk-ly
Copy link

NoTalk-ly commented Oct 13, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.6.5

Environment

chrome: 85.0.4183.121 OS: Mac OS 10.15.2

Reproduction link

Edit on CodeSandbox

Steps to reproduce

codesandbox即可复现

What is expected?

期望无论哪次打开弹窗 textarea高度都一致为3行(当前例子中)

What is actually happening?

点击按钮打开弹窗,textarea 此时高度为3行
点击弹窗cancel按钮关闭弹窗后再打开弹窗,此时textarea高度变成了2行

@NoTalk-ly
Copy link
Author

有人能回复下吗?随时可以协助复现该bug。

@tangjinzhou tangjinzhou added Accept You are right, we should do that bug labels Oct 26, 2020
@John60676
Copy link
Member

@John60676 John60676 added the 1.x version 1.x label Nov 2, 2020
@github-actions
Copy link

github-actions bot commented Nov 7, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1.x version 1.x Accept You are right, we should do that bug outdated
Projects
None yet
Development

No branches or pull requests

3 participants