mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-05-07 16:38:38 +00:00
fix focus on tab change
This commit is contained in:
@@ -300,6 +300,7 @@ const CodeEditor = forwardRef(
|
||||
view.setState(nextState);
|
||||
prevTabRef.current = tab;
|
||||
}
|
||||
view.focus();
|
||||
}, [tab]);
|
||||
|
||||
useEffect(()=>{
|
||||
|
||||
Reference in New Issue
Block a user