Skip to content

Commit

Permalink
Fix cursor jumping to textarea start on math editor blur
Browse files Browse the repository at this point in the history
  • Loading branch information
heeboA committed Nov 4, 2024
1 parent fd77c37 commit f51e399
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/state/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ export function EditorStateProvider({
function onBlur() {
setActiveMathEditor(null)
setIsMathToolbarOpen(false)
mainTextAreaRef.current?.focus()

history.clear()
onAnswerChange()
Expand Down

0 comments on commit f51e399

Please sign in to comment.