diff --git a/translate/src/modules/comments/components/AddComment.tsx b/translate/src/modules/comments/components/AddComment.tsx index ad9e29a109..bbabadcd37 100644 --- a/translate/src/modules/comments/components/AddComment.tsx +++ b/translate/src/modules/comments/components/AddComment.tsx @@ -108,10 +108,10 @@ export function AddComment({ children: [{ text: name }], }; Transforms.insertNodes(editor, mention); - Transforms.move(editor); + Transforms.select(editor, Editor.end(editor, [])); Transforms.insertText(editor, ' '); }, - [], + [editor], ); useEffect(initMentions, []);