mirror of
https://github.com/bitwarden/android.git
synced 2025-12-10 09:56:45 -06:00
Ensure the fab is dismissed when clicking on the lower portion of the content (#5996)
This commit is contained in:
parent
3d493bb9d0
commit
44c373a354
@ -84,7 +84,9 @@ fun BitwardenExpandableFloatingActionButton(
|
||||
Column(
|
||||
horizontalAlignment = Alignment.End,
|
||||
verticalArrangement = Arrangement.Bottom,
|
||||
modifier = modifier,
|
||||
modifier = modifier.clickable(interactionSource = null, indication = null) {
|
||||
onIsExpandedChange(false)
|
||||
},
|
||||
) {
|
||||
AnimatedVisibility(
|
||||
visible = isExpanded,
|
||||
@ -92,11 +94,7 @@ fun BitwardenExpandableFloatingActionButton(
|
||||
modifier = Modifier.weight(weight = 1f),
|
||||
) {
|
||||
LazyColumn(
|
||||
modifier = Modifier
|
||||
.clickable(interactionSource = null, indication = null) {
|
||||
onIsExpandedChange(false)
|
||||
}
|
||||
.fillMaxSize(),
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
horizontalAlignment = Alignment.End,
|
||||
verticalArrangement = Arrangement.spacedBy(
|
||||
space = 12.dp,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user