material-components / material-components/material-components-android
[Button] Button text is truncated sometimes
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** In some cases, the last characters of the button text are not displayed:
https://github.com/user-attachments/assets/14887a97-c357-41a5-b3d5-381df38bf128
**Material Library version:** 1.14.0-alpha10
**Device:** Pixel 8 (API 36)
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.
Research direction
No source file or test is identified in the issue. Reproduce the truncation using Material Library 1.14.0-alpha10 on a Pixel 8 running API 36, then trace the affected Button implementation and existing tests. Done means the complete button text is displayed in the reported case without regressing other button behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100