fix(mobile): increase message bar padding above keyboard
Add extra padding (keyboardHeight + 10) so the input comfortably clears the keyboard suggestions/accessory bar on all devices. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ba2053dd4c
commit
40906331e7
|
|
@ -350,7 +350,7 @@ export default function SessionDetailScreen({ route, navigation }: Props) {
|
||||||
|
|
||||||
{/* Message input — only show for active sessions */}
|
{/* Message input — only show for active sessions */}
|
||||||
{!isDone && (
|
{!isDone && (
|
||||||
<View style={[styles.messageBar, { paddingBottom: keyboardHeight > 0 ? keyboardHeight - (Platform.OS === "ios" ? 34 : 0) : 10 }]}>
|
<View style={[styles.messageBar, { paddingBottom: keyboardHeight > 0 ? keyboardHeight + 10 : 10 }]}>
|
||||||
<TextInput
|
<TextInput
|
||||||
style={styles.messageInput}
|
style={styles.messageInput}
|
||||||
placeholder="Send message to agent..."
|
placeholder="Send message to agent..."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue