From 7246bbc0d1e298d9b7ba303a51db10f728578083 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Fri, 19 Apr 2024 15:37:35 +0000 Subject: [PATCH] fix: comment text input size in samples (#8042) --- core/comments/comment_view.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/comments/comment_view.ts b/core/comments/comment_view.ts index 8cbe0e774..4151c7cf9 100644 --- a/core/comments/comment_view.ts +++ b/core/comments/comment_view.ts @@ -393,6 +393,8 @@ export class CommentView implements IRenderedElement { if (this.workspace.RTL) { this.foreignObject.setAttribute('x', `${-size.width}`); } + this.textArea.style.width = `${size.width}px`; + this.textArea.style.height = `${size.height}px`; } /**