Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

Fix wysiwyg text overflow (#650)

Christopher Chedeaue50dc5dbed12
diff --git a/src/element/textWysiwyg.tsx b/src/element/textWysiwyg.tsx
index 7d8aede69c..584af1c617 100644
--- a/src/element/textWysiwyg.tsx
+++ b/src/element/textWysiwyg.tsx
@@ -39,7 +39,7 @@ export function textWysiwyg({
Object.assign(editable.style, {
color: strokeColor,
- position: "absolute",
+ position: "fixed",
opacity: opacity / 100,
top: y + "px",
left: x + "px",