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 Autosize] Height instability #325

Closed
jciaffi opened this issue Apr 16, 2024 · 4 comments
Closed

[Textarea Autosize] Height instability #325

jciaffi opened this issue Apr 16, 2024 · 4 comments
Labels
component: textarea This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists

Comments

@jciaffi
Copy link

jciaffi commented Apr 16, 2024

Steps to reproduce

Link to live example: https://mui.com/base-ui/react-textarea-autosize/#introduction
Steps: Resize the textarea (on the above url).

Current behavior

When I try to resize the textarea (on the above url), the height is flickering.

Expected behavior

Smooth resizing.

Context

No response

Your environment

The same thing happens on chrome, edge, firefox (windows and mac).

Search keywords: Textarea Autosize

Search keywords:

@jciaffi jciaffi added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Apr 16, 2024
@danilo-leal danilo-leal changed the title Instability in height of Textarea Autosize [Textarea Autosize] Height instability Apr 16, 2024
@danilo-leal danilo-leal transferred this issue from mui/material-ui Apr 16, 2024
@danilo-leal danilo-leal added the component: textarea This is the name of the generic UI component, not the React module! label Apr 16, 2024
@oliviertassinari
Copy link
Member

cc @ZeeshanTamboli

@ZeeshanTamboli
Copy link
Member

ZeeshanTamboli commented Apr 20, 2024

@jciaffi This component is getting deprecated in Base UI in the future (check: #168 (comment) and #189 (comment)). However, for existing apps using this component and those utilizing the Material UI TextField with the multiline prop, I've implemented a fix in mui/material-ui#41638. We're currently figuring out how to include a test for this. I'll close this issue in this repository since similar issues (#168 and #160) have also been closed due to the impending deprecation in Base UI.

Edit: Finally found a way to add a test for it in mui/material-ui#41638. So the fix should be available soon.

@ZeeshanTamboli ZeeshanTamboli added bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Apr 20, 2024
@ZeeshanTamboli ZeeshanTamboli added deprecation New deprecation message duplicate This issue or pull request already exists labels Apr 20, 2024
@ZeeshanTamboli ZeeshanTamboli closed this as not planned Won't fix, can't repro, duplicate, stale Apr 20, 2024
@oliviertassinari

This comment was marked as outdated.

@oliviertassinari
Copy link
Member

Duplicate of #168

@oliviertassinari oliviertassinari marked this as a duplicate of #168 Apr 21, 2024
@oliviertassinari oliviertassinari removed bug 🐛 Something doesn't work deprecation New deprecation message labels Apr 21, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: textarea This is the name of the generic UI component, not the React module! duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

6 participants