Skip to content

Commit

Permalink
Merge pull request #287 from boostcampwm-2024/Hotfix/#278_캐럿이_계속_튀는_문제
Browse files Browse the repository at this point in the history
�Feature/backspace눌렀을때 캐럿 튀는 문제
  • Loading branch information
github-actions[bot] authored Dec 4, 2024
2 parents 7118d78 + e1eb4ff commit c3a7441
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions client/src/features/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,8 @@ export const Editor = ({ onTitleChange, pageId, pageTitle, serializedEditorData

block.crdt.currentCaret = currentCaret + characters.length;
}
composingCaret.current = null;
if (isSameLocalChange.current) {
isSameLocalChange.current = false;
}
isLocalChange.current = false;
isSameLocalChange.current = false;
},
[editorCRDT, pageId, sendCharInsertOperation],
);
Expand Down

0 comments on commit c3a7441

Please sign in to comment.