Skip to content

Commit

Permalink
馃悰 fix: Update ChatInputArea.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed May 8, 2024
1 parent 58ff830 commit 365086d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ChatInputArea/mobile/ChatInputArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
useState,
} from 'react';
import { Flexbox } from 'react-layout-kit';
import MobileSafeArea from "@/MobileSafeArea"

import ActionIcon from '@/ActionIcon';

Expand Down Expand Up @@ -73,6 +74,7 @@ const MobileChatInputArea = forwardRef<TextAreaRef, MobileChatInputAreaProps>(
onInput,
loading,
value,
safeArea
},
ref,
) => {
Expand Down Expand Up @@ -152,6 +154,7 @@ const MobileChatInputArea = forwardRef<TextAreaRef, MobileChatInputAreaProps>(
{bottomAddons && (
<Flexbox style={showAddons ? {} : { display: 'none' }}>{bottomAddons}</Flexbox>
)}
{safeArea && !isFocused && <MobileSafeArea position={'bottom'} />}
</Flexbox>
);
},
Expand Down

0 comments on commit 365086d

Please sign in to comment.