material-components / material-components/material-components-android

[TextInputLayout] when edittext height too small,i cant change height

Open
#4,236 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**Description:** when edittext height too small,i cant change height,I've tried modifying the minheight, padding,paddingtop,paddingbottom and edittext margintop/bootom,so i thank it's bug

**Expected behavior:** TextInputLayout height > EditText height

**Source code:** empty

**Minimal sample app repro:**
```

```

**Android API version:** 34

**Material Library version:** 1.12.0

**Device:** XIAOMI NOTE 12 PRO

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.

Research direction

Use the supplied TextInputLayout and TextInputEditText XML as the reproduction entry point, with Android API 34 and Material Library 1.12.0. Verify whether the layout height remains constrained despite the shown minHeight, padding, and margin settings; done means reproducing the behavior and making the expected TextInputLayout height greater than the EditText height.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.