Skip to content

[TextField] Backspacing after line break in multiline causes height issues on Safari #45293

Open
@xiaoxiaofan123

Description

@xiaoxiaofan123

Steps to reproduce

Steps:

  1. 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

textfield.safari.mov

Expected behavior

On Chrome

textfield.chrome.mov

Context

No response

Your environment

npx @mui/envinfo
  On safari

Search keywords: Textfield multiple height

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions