fix: comment text input size in samples (#8042)

This commit is contained in:
Beka Westberg
2024-04-19 15:37:35 +00:00
committed by GitHub
parent cee7f916bb
commit 7246bbc0d1

View File

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