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`; } /**