Don't constrain menu's width
This commit is contained in:
1 parent
4ec7de611c
commit
7276c37c54
1 file changed
+1
-1
@@ -32,7 +32,7 @@ fun DropdownFilterChip(
|
||||
modifier = Modifier.menuAnchor(MenuAnchorType.PrimaryNotEditable),
|
||||
trailingIcon = { ExposedDropdownMenuDefaults.TrailingIcon(expanded = expanded) },
|
||||
)
|
||||
ExposedDropdownMenu(expanded = expanded, onDismissRequest = { expanded = false }) {
|
||||
ExposedDropdownMenu(expanded = expanded, onDismissRequest = { expanded = false }, matchTextFieldWidth = false) {
|
||||
menuItems.forEachIndexed { index, item ->
|
||||
DropdownMenuItem(
|
||||
text = { Text(text = item) },
|
||||
|
||||
Reference in new issue
Block a user