Skip to content

Conversation

Red-Hide
Copy link
Contributor

Simple quick fix for #647 to adjust notes textarea on mount.

Copy link

vercel bot commented Oct 13, 2025

@Red-Hide is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Oct 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
drawdb Ready Ready Preview Comment Oct 18, 2025 9:23am

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

Add useEffect to adjust textarea height on mount
Issue : drawdb-io#647
@Red-Hide Red-Hide force-pushed the notes-text-height-fix branch from e1d0286 to 75b5896 Compare October 15, 2025 07:10
textarea.style.height = textarea.scrollHeight + "px";
const newHeight = textarea.scrollHeight + 42;
updateNote(data.id, { height: newHeight });
});
Copy link
Member

Choose a reason for hiding this comment

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

please add a dependency array

@Red-Hide Red-Hide requested a review from 1ilit October 16, 2025 16:38
Copy link
Member

@1ilit 1ilit left a comment

Choose a reason for hiding this comment

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

lgtm, thank you

@1ilit 1ilit merged commit 405e736 into drawdb-io:main Oct 18, 2025
4 checks passed
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