Show textarea as editable

This commit is contained in:
Andras Schmelczer 2026-10-28 23:59:33 +00:00
commit e1b5ae7835

View file

@ -225,7 +225,8 @@ function resizeTextAreas(): void {
function autoResize(textarea: HTMLTextAreaElement): void {
textarea.style.height = 'auto';
textarea.style.height = textarea.scrollHeight + 'px';
const borderHeight = textarea.offsetHeight - textarea.clientHeight;
textarea.style.height = textarea.scrollHeight + borderHeight + 'px';
}
main().catch((error) => {