Skip to content

[material-ui][TextField] Text Fields are suddenly overflowing when using versions newer than 6.0.0-alpha.9 #43185

@EliasVal

Description

@EliasVal

Steps to reproduce

Link to live example: (required)

Steps:

  1. Lay out some TextFields wrapped in divs, to restrict size
  2. See correct behavior in v6.0.0-alpha.9
  3. Update to a newer version
  4. See that the TextFields suddenly overflow the divs

Current behavior

Incorrect TextField sizing (v6.0.0-alpha.10+)

image

Expected behavior

Correct TextField sizing (v6.0.0-alpha.9)

image

Context

No response

Your environment

npx @mui/envinfo
  System:
    OS: Windows 11 10.0.22631
  Binaries:
    Node: 20.12.2 - C:\Program Files\nodejs\node.EXE
    npm: 10.2.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.5.0 - ~\AppData\Local\pnpm\pnpm.CMD
  Browsers:
    Chrome: Version 126.0.6478.127 - Used for testing
    Edge: Chromium (127.0.2651.74)
  npmPackages:
    typescript: 5.5.3 => 5.5.3

Search keywords: overflowing, alpha

Metadata

Metadata

Labels

scope: text fieldChanges related to the text field.type: regressionA bug, but worse, it used to behave as expected.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions