feat(mobile): add keyboard avoidance for input area

This commit is contained in:
Bohdan Triapitsyn
2026-01-01 16:02:41 +02:00
parent 10e64b4f90
commit 2f2c127f13
21 changed files with 100 additions and 24 deletions
@@ -1166,7 +1166,12 @@ export const ChatInput: React.FC<ChatInputProps> = ({ onOpenSettings, scrollToBo
return (
<form onSubmit={handleSubmit} className="pt-0 pb-2 md:pb-4 bottom-safe-area" style={isMobile && inputBarOffset > 0 && !isKeyboardOpen ? { marginBottom: `${inputBarOffset}px` } : undefined}>
<form
onSubmit={handleSubmit}
className="pt-0 pb-2 md:pb-4 bottom-safe-area"
data-keyboard-avoid="true"
style={isMobile && inputBarOffset > 0 && !isKeyboardOpen ? { marginBottom: `${inputBarOffset}px` } : undefined}
>
<StatusRow
isWorking={working.isWorking}
statusText={workingStatusText}