Skip to content

fix: update textarea to fit content height and set a max height #17946

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

Merged
merged 3 commits into from
May 21, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: remove unnecessary line
  • Loading branch information
jaaydenh committed May 20, 2025
commit e412af57766f722baeb33d7453a56360f5661432
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ const DebouncedParameterField: FC<DebouncedParameterFieldProps> = ({
const resizeTextarea = useEffectEvent(() => {
if (textareaRef.current) {
const textarea = textareaRef.current;
textarea.style.height = "auto";
textarea.style.height = `${textarea.scrollHeight}px`;
}
});
Expand Down
Loading