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

Textfield multiline resizes on input when having a height set #1375

Closed
HansKristianVikOlsen opened this issue May 27, 2021 · 2 comments · Fixed by #1378
Closed

Textfield multiline resizes on input when having a height set #1375

HansKristianVikOlsen opened this issue May 27, 2021 · 2 comments · Fixed by #1378
Assignees
Labels
🐛 bug Something isn't working

Comments

@HansKristianVikOlsen
Copy link

I have this multiline textfield that before 0.12.0 stayed this heigh after input
image

Not it looks like this when starting to type:

image

I have set the height CSS element on <TextField to a specific height, I can see that once i start typing, it is set to Auto instead

@mimarz
Copy link
Contributor

mimarz commented May 27, 2021

Hi!
Thanks for reporting this. This is probably due to maxRows feature and the need for calculating height.

Could you post us a snippet of what props you are using? @HansKristianVikOlsen
Could this be related to #1336 and would #1369 fix this @pomfrida ?

@mimarz mimarz added the 🐛 bug Something isn't working label May 27, 2021
@HansKristianVikOlsen
Copy link
Author

Here you go:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants