Hello folks! Quick question about the ExposedDropD...
# compose
s
Hello folks! Quick question about the ExposedDropDownMenuBox. I have a TextField that has a .fillMaxWidth() applied to its modifier implying that it is going to take up the entire width of the screen. I want the menu items (DropDownMenuItem) to fill the exact width of the TextField to which it is attached. However, even after applying the relevant modifiers, it seems that the DropDownMenuItem doesn't take the max space available. Any idea how to get around this? I also applied Modifier.exposedDropDownSize(matchTextFieldWidth = true) to the ExposedDropDownMenu but no luck 😕 Attaching code snippet and screenshots below. TIA 🙂
Screenshot for reference :