Fix chat input positioning on mobile android (#11013)

This commit is contained in:
Samuel Newman
2026-06-29 18:18:53 +03:00
committed by GitHub
parent 69058e1ec2
commit 2971c3520c
2 changed files with 2 additions and 2 deletions
@@ -376,7 +376,7 @@ function ComposerContainer({children}: {children: React.ReactNode}) {
web: [
a.pt_xs,
a.pl_lg,
a.pb_lg,
{paddingBottom: tokens.space.lg + bottomInset},
// prevent overlap with the scrollbar, which looks ugly
a.pr_sm, // sm + sm = lg
{width: `calc(100% - ${tokens.space.sm}px)` as '100%'},
@@ -683,7 +683,7 @@ export function MessagesList({
<KeyboardStickyView
style={[a.absolute, a.bottom_0, a.left_0, a.right_0]}
onLayout={onInputLayout}
minimumOffset={bottomInset}
minimumOffset={IS_WEB ? 0 : bottomInset}
offset={{
closed: platform({
ios: tokens.space.lg, // hide bottom padding when closed