mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 01:26:54 +00:00
fix focus on tab change
This commit is contained in:
1 parent
de9df7d257
commit
6c51e6b711
1 file changed
+1
@@ -300,6 +300,7 @@ const CodeEditor = forwardRef(
|
||||
view.setState(nextState);
|
||||
prevTabRef.current = tab;
|
||||
}
|
||||
view.focus();
|
||||
}, [tab]);
|
||||
|
||||
useEffect(()=>{
|
||||
|
||||
Reference in new issue
Block a user