material-components / material-components/material-components-android
[AutoCompleteTextView + Dialog] Dropdown trigger without touching AutoCompleteTextView
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** I have implemented an Dropdown view as per documentation inside a `MaterialDialog` however even though I don't touch the `AutoCompleteTextView` the dropdown is triggered
**Expected behavior:** Trigger dropdown only when touched
**Minimal sample app repro:** https://github.com/yoobi/dropdown_issue
**Android API version:** Google Pixel 6 with API 32
**Material Library version:** 1.11.0
**Device:** Google Pixel 6
It is not clearly visible on the record but I'm not touching the `TextInputLayout` I'm pressing and touching outside of the dialog
https://github.com/material-components/material-components-android/assets/17434735/9d0467db-021c-4c1c-b365-c7dff6667301
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
Start with the linked minimal sample app and reproduce the behavior on a Google Pixel 6 or API 32 using Material Library 1.11.0. Compare pressing outside the MaterialDialog with directly touching the AutoCompleteTextView; done means the dropdown opens only after the text view is touched.
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
- Mostly clear
- Newbie friendliness
- 35/100