From 6c51e6b71142e948b488d27148b78bb8a0282811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Mon, 13 Apr 2026 17:36:47 +0200 Subject: [PATCH] fix focus on tab change --- client/components/codeEditor/codeEditor.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/components/codeEditor/codeEditor.jsx b/client/components/codeEditor/codeEditor.jsx index 3eed6ab9b..4fa19b382 100644 --- a/client/components/codeEditor/codeEditor.jsx +++ b/client/components/codeEditor/codeEditor.jsx @@ -300,6 +300,7 @@ const CodeEditor = forwardRef( view.setState(nextState); prevTabRef.current = tab; } + view.focus(); }, [tab]); useEffect(()=>{