material-components / material-components/material-components-android
[TextInputLayout + AutoCompleteTextView] Dialog doesn't show on click when icon is hidden
Open
@afohrman is already working on this.
Since Nov 5, 2024.
bug
Widget: TextField
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** When you have an `AutoCompleteTextView` with `android:inputType="none"` (similar to a Spinner) and hide the end icon of the `TextInputLayout ` using `app:endIconMode="none"` then the dropdown menu doesn't show on click anymore.
**Expected behavior:** The expected behavior is to see the menu on click otherwise the view is not usable.
**Minimal sample app repro:**
```
```
**Android API version:** 34
**Material Library version:** 1.12.0
**Device:** Pixel 8 Emulator
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.