diff --git a/app/src/main/java/com/rosetta/messenger/ui/chats/GroupSetupScreen.kt b/app/src/main/java/com/rosetta/messenger/ui/chats/GroupSetupScreen.kt index e26b8f1..47f814e 100644 --- a/app/src/main/java/com/rosetta/messenger/ui/chats/GroupSetupScreen.kt +++ b/app/src/main/java/com/rosetta/messenger/ui/chats/GroupSetupScreen.kt @@ -228,11 +228,13 @@ fun GroupSetupScreen( val imeBottomDp = with(density) { imeBottomPx.toDp() } val fabBottomPadding = if (coordinator.isEmojiBoxVisible) { - // Emoji panel height is already reserved by Scaffold bottomBar. + // Emoji panel is shown as Scaffold bottomBar → paddingValues already + // reserves space for it, so FAB only needs a small offset above it. 14.dp } else if (imeBottomDp > 0.dp) { - // System keyboard is not part of Scaffold content padding. - imeBottomDp + 14.dp + // System keyboard is open but NOT covered by paddingValues. + // Place FAB at the same visual position as with the emoji panel. + 14.dp + imeBottomDp } else { 18.dp }