Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scrolling issue on edit chat input #2856

Merged
merged 1 commit into from
May 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions web/screens/Chat/EditChatInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@
}

return (
<div className="mx-auto flex w-full flex-shrink-0 items-end justify-center space-x-4 pb-0 pt-1">
<div className="mx-auto flex w-full flex-col flex-shrink-0 items-start justify-center space-y-4 pb-0 pt-1">

Check failure on line 132 in web/screens/Chat/EditChatInput/index.tsx

View workflow job for this annotation

GitHub Actions / test-on-macos-pr-target

Replace `col·flex-shrink-0` with `shrink-0·flex-col`

Check failure on line 132 in web/screens/Chat/EditChatInput/index.tsx

View workflow job for this annotation

GitHub Actions / test-on-ubuntu-pr-target

Replace `col·flex-shrink-0` with `shrink-0·flex-col`

Check failure on line 132 in web/screens/Chat/EditChatInput/index.tsx

View workflow job for this annotation

GitHub Actions / test-on-windows-pr-target

Replace `col·flex-shrink-0` with `shrink-0·flex-col`
<div className="relative flex w-full flex-col">
<Textarea
className={twMerge(

Check failure on line 135 in web/screens/Chat/EditChatInput/index.tsx

View workflow job for this annotation

GitHub Actions / test-on-macos-pr-target

Replace `⏎············'max-h-[400px]·resize-none·pr-20'⏎··········` with `'max-h-[400px]·resize-none·pr-20'`

Check failure on line 135 in web/screens/Chat/EditChatInput/index.tsx

View workflow job for this annotation

GitHub Actions / test-on-ubuntu-pr-target

Replace `⏎············'max-h-[400px]·resize-none·pr-20'⏎··········` with `'max-h-[400px]·resize-none·pr-20'`

Check failure on line 135 in web/screens/Chat/EditChatInput/index.tsx

View workflow job for this annotation

GitHub Actions / test-on-windows-pr-target

Replace `␍⏎············'max-h-[400px]·resize-none·pr-20'␍⏎··········` with `'max-h-[400px]·resize-none·pr-20'`
'max-h-[400px] resize-none overflow-y-hidden pr-20'
'max-h-[400px] resize-none pr-20'
)}
style={{ height: '40px' }}
ref={textareaRef}
Expand Down