material-components / material-components/material-components-android
[ExtendedFloatingActionButton] Inconsistent size when expanding if the text is short
@imhappi is already working on this.
Since Mar 3, 2023.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** If `ExtendedFloatingActionButton` has short text - the size changes a little when expanding:
https://user-images.githubusercontent.com/4838367/222780184-1af7d8e0-e6db-4e43-9ff0-bdaaf1e1e1dd.mp4
**Expected behavior:** If text long - everything works as expected:
https://user-images.githubusercontent.com/4838367/222783304-3f8adc6d-aa95-40a9-a500-18c40c242a9b.mp4
**Source code:**
```
```
`fab.extend()`
App theme `Theme.Material3.*`
**Android API version:** 30
**Material Library version:** 1.8.0, 1.9.0-alpha02
**Device:** POCO X3 NFC
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.
Assessment
This issue has not been assessed yet.