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

Chore/use expandable textarea #58

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

saltcod
Copy link
Member

@saltcod saltcod commented Aug 13, 2024

Copy link
Collaborator

@gregnr gregnr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome 🚀 one thing that the previous input did was max out the number of expanded lines to 10 vs. growing infinitely. Do you think that's better or worse? (no strong opinions from me)

Also can we get the focus outline to go around the entire input container vs just the text area?
image
vs
image

Also noticing the background colour of the textarea is slightly different than the container (more apparent on dark mode, but I think is true for both themes)

image

Edit: possibly font size changed as well? Do we like it smaller or keep as before?

apps/postgres-new/components/ExpandableTextArea.tsx Outdated Show resolved Hide resolved
apps/postgres-new/components/ExpandableTextArea.tsx Outdated Show resolved Hide resolved
apps/postgres-new/components/chat.tsx Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants