material-components / material-components/material-components-android
[Exposed Dropdown Menu] Filtering incorrectly applied after rotation
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** It seems that in some cases filtering is incorrectly applied to `AutocompleteTextView` after rotating the device which causes that all options except for the selected one disappear from Dropdown Menu.
Steps to reproduce:
1. Open Material Catalog app
2. Go to TextField -> Exposed Dropdown Menu Demo
3. Tap on 4th TextField from the top and select any value from the dropdown menu.
4. Rotate the device to landscape and back to portrait
5. Try to select a value from any of the 4 TextFields
The result is that those Dropdowns are now showing only 1 value instead of all of them.
**Expected behavior:** All TextField Dropdown Menus should show all values after device rotations
**Android API version:** Tested on Android 10 and Android 11 Beta
**Material Library version:** Checked on 1.3.0-alpha01 and 1.2.0-beta01
**Device:** Google Pixel 3 and 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.