Skip to content
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

TextArea with autoHeight doesn't shrink when lines deleted #3418

Closed
mashabow opened this issue Feb 7, 2019 · 2 comments
Closed

TextArea with autoHeight doesn't shrink when lines deleted #3418

mashabow opened this issue Feb 7, 2019 · 2 comments

Comments

@mashabow
Copy link

mashabow commented Feb 7, 2019

Bug Report

Step

  1. Input multiple lines in a TextArea with autoHeight // → TextArea's height grows to fit the lines
  2. Delete some lines.

Expected Result

TextArea's height shrinks to fit the remaining lines.

Actual Result

TextArea's height doesn't change on deleting.

feb-07-2019 18-40-45

Version

0.85.0
Does not occcur in 0.84.0.

Testcase

https://codesandbox.io/s/qzn3nzwr1j 0.85.0
https://codesandbox.io/s/104r4oy993 0.84.0 (correct)

@welcome
Copy link

welcome bot commented Feb 7, 2019

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@mashabow mashabow changed the title TextArea: shrink autoHeight when lines deleted TextArea with autoHeight doen't shrink when lines deleted Feb 7, 2019
@mashabow mashabow changed the title TextArea with autoHeight doen't shrink when lines deleted TextArea with autoHeight doesn't shrink when lines deleted Feb 8, 2019
codrex added a commit to codrex/Semantic-UI-React that referenced this issue Feb 13, 2019
codrex added a commit to codrex/Semantic-UI-React that referenced this issue Feb 13, 2019
@layershifter
Copy link
Member

The issue comes from #3343.

codrex added a commit to codrex/Semantic-UI-React that referenced this issue Feb 14, 2019
…c-Org#3418)

  * add test to check for shrinking when newline deleted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants