From f51e39921765de8e4b727054e30075e00d2d4eac Mon Sep 17 00:00:00 2001 From: Heikki Honkanen Date: Mon, 4 Nov 2024 12:23:29 +0200 Subject: [PATCH] Fix cursor jumping to textarea start on math editor blur --- src/app/state/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/state/index.tsx b/src/app/state/index.tsx index f9506f94..c01fb84e 100644 --- a/src/app/state/index.tsx +++ b/src/app/state/index.tsx @@ -156,7 +156,6 @@ export function EditorStateProvider({ function onBlur() { setActiveMathEditor(null) setIsMathToolbarOpen(false) - mainTextAreaRef.current?.focus() history.clear() onAnswerChange()