Hey all, If i have a DropDownMenu, is there a way ...
# compose
m
Hey all, If i have a DropDownMenu, is there a way to have a sticky header content in it? I’m trying to put a search box so that the user doesn’t have to scroll through a large list of items to find what they want. However, when in put in the text field, it’s included in the scroll area:
Copy code
DropdownMenu(....) {
    TextField(...)
    items.forEach { 
        DropdownMenuItem(...)
    }
}
I do see a ticket related to having a dropdown menu with LazyColumn support, but not much movement on it. https://issuetracker.google.com/issues/242398344
c
Do you have a visual example of what you want? not sure i understand?
Oh. so like AutoCompleteTextView in from the View system?
basically as you type, its showing a filtered list below it. (like if you're filling out an address and want to type out the Country and then the list filters down to the countries that you're typing in?)