Ensure the fab is dismissed when clicking on the lower portion of the content (#5996)

This commit is contained in:
David Perez 2025-10-08 17:06:02 -05:00 committed by GitHub
parent 3d493bb9d0
commit 44c373a354
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,