[TextField] Backspacing after line break in multiline causes height issues on Safari
Open
Nobody has claimed this yet.
browser: Safari
component: TextareaAutosize
scope: text field
type: bug
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Steps to reproduce
Steps:
- Open this link to live example: https://codesandbox.io/embed/frpzyp?module=/src/Demo.tsx&fontsize=12(required)
2.Enter a line of English characters with space in the middle.
3.Enter one more character and the line will wrap. Deleting a character will cause height problems.
Current behavior
On safari
https://github.com/user-attachments/assets/203e552e-c4b4-4bff-8114-8ee3a15358e2
Expected behavior
On Chrome
https://github.com/user-attachments/assets/b6a8ce13-6033-4cb7-86fc-62b1ee2f4212
Context
No response
Your environment
npx @mui/envinfo
On safari
Search keywords: Textfield multiple height
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.