From 5c646ae4a1315d1758cb8e45843454ddd33e48a7 Mon Sep 17 00:00:00 2001 From: Bruno Deanoz Date: Sun, 21 Jun 2026 18:58:22 +0200 Subject: [PATCH] fix: attachment menu aligned to bottom-left above the + button --- app/src/main/java/dev/kaizen/app/chat/ChatScreen.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/dev/kaizen/app/chat/ChatScreen.kt b/app/src/main/java/dev/kaizen/app/chat/ChatScreen.kt index c0e3bb1..555e600 100644 --- a/app/src/main/java/dev/kaizen/app/chat/ChatScreen.kt +++ b/app/src/main/java/dev/kaizen/app/chat/ChatScreen.kt @@ -552,13 +552,12 @@ fun ChatScreen( Spacer(Modifier.height(16.dp)) } - // Attachment menu — floats above the bottom dock + // Attachment menu — floats above the + button at bottom-left androidx.compose.animation.AnimatedVisibility( visible = showAttachMenu, modifier = Modifier - .align(Alignment.BottomCenter) - .padding(bottom = 140.dp) - .then(if (isTablet) Modifier.widthIn(max = 720.dp) else Modifier), + .align(Alignment.BottomStart) + .padding(start = 20.dp, bottom = 140.dp), enter = androidx.compose.animation.fadeIn() + androidx.compose.animation.slideInVertically { it / 2 }, exit = androidx.compose.animation.fadeOut() + androidx.compose.animation.slideOutVertically { it / 2 }, ) {