Skip to content

Commit

Permalink
fix: keyboard avoiding view height
Browse files Browse the repository at this point in the history
  • Loading branch information
berenteb committed Mar 6, 2024
1 parent 65a0e2c commit 2325dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/qna/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function Input({ placeholder, onSubmit, disabled = false }: InputProps) {
keyboardVerticalOffset={0}
behavior='position'
style={{ paddingBottom: insets.bottom + 100 }}
className='justify-end absolute w-full h-full'
className='justify-end absolute w-full bottom-0'
enabled
>
<View className='mx-5 flex-row space-x-3 rounded-xl bg-white dark:bg-slate-800 px-3 py-2 shadow-md max-h-60'>
Expand Down

0 comments on commit 2325dd5

Please sign in to comment.