mirror of
https://github.com/Steffo99/twom.git
synced 2024-11-21 23:54:26 +00:00
Wrap MemberListItem
in a Box
to have the DropdownMenu
display correctly
This commit is contained in:
parent
4a084519ce
commit
fb45b3ea06
1 changed files with 72 additions and 68 deletions
|
@ -84,6 +84,9 @@ fun MemberListItem(
|
|||
val alpha = if (rsvp.answer == RSVPAnswer.PENDING) 0.4f else 1.0f
|
||||
val color = rsvp.answer.staticColorRole.color().copy(alpha)
|
||||
|
||||
// A parent layout is needed for the Dropdown to display in the correct position
|
||||
Box {
|
||||
|
||||
ListItem(
|
||||
modifier = modifier
|
||||
.combinedClickable(
|
||||
|
@ -158,4 +161,5 @@ fun MemberListItem(
|
|||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue