fix chat input on mobile android
This commit is contained in:
@@ -376,7 +376,7 @@ function ComposerContainer({children}: {children: React.ReactNode}) {
|
|||||||
web: [
|
web: [
|
||||||
a.pt_xs,
|
a.pt_xs,
|
||||||
a.pl_lg,
|
a.pl_lg,
|
||||||
a.pb_lg,
|
{paddingBottom: tokens.space.lg + bottomInset},
|
||||||
// prevent overlap with the scrollbar, which looks ugly
|
// prevent overlap with the scrollbar, which looks ugly
|
||||||
a.pr_sm, // sm + sm = lg
|
a.pr_sm, // sm + sm = lg
|
||||||
{width: `calc(100% - ${tokens.space.sm}px)` as '100%'},
|
{width: `calc(100% - ${tokens.space.sm}px)` as '100%'},
|
||||||
|
|||||||
@@ -683,7 +683,7 @@ export function MessagesList({
|
|||||||
<KeyboardStickyView
|
<KeyboardStickyView
|
||||||
style={[a.absolute, a.bottom_0, a.left_0, a.right_0]}
|
style={[a.absolute, a.bottom_0, a.left_0, a.right_0]}
|
||||||
onLayout={onInputLayout}
|
onLayout={onInputLayout}
|
||||||
minimumOffset={bottomInset}
|
minimumOffset={IS_WEB ? 0 : bottomInset}
|
||||||
offset={{
|
offset={{
|
||||||
closed: platform({
|
closed: platform({
|
||||||
ios: tokens.space.lg, // hide bottom padding when closed
|
ios: tokens.space.lg, // hide bottom padding when closed
|
||||||
|
|||||||
Reference in New Issue
Block a user