mui / mui/material-ui

Display glitch when using multiline in TextField

Open
#44,988 5 comments 4 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

browser: Safari 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:

  1. Open this link to live example: https://mui.com/material-ui/react-text-field/#multiline with iOS simulator Version 16.0 (1038)
  2. Click into the first example, so that the TextField get's the focus
  3. Click outside so that the TextField looses the focus
Current behavior

With focus

CleanShot 2025-01-10 at 11 33 48@2x

The label "Multiline" is striken through.

Without focus

CleanShot 2025-01-10 at 11 34 23@2x

There's a gap now.

Expected behavior

With focus

CleanShot 2025-01-10 at 11 34 53@2x

Without focus

CleanShot 2025-01-10 at 11 35 33@2x

Context

No response

Your environment

MUI v.6.3.1
iOS simulator Version 16.0 (1038) with Mobile Safari 18

Search keywords: TextField, multiline

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.