diff --git a/src/components/organisms/Dashboard/Tableview/TerminalTab.tsx b/src/components/organisms/Dashboard/Tableview/TerminalTab.tsx index 72adcf5b7b..7f6715244a 100644 --- a/src/components/organisms/Dashboard/Tableview/TerminalTab.tsx +++ b/src/components/organisms/Dashboard/Tableview/TerminalTab.tsx @@ -68,6 +68,14 @@ export const TerminalTab = ({resourceId}: {resourceId: string}) => { } }); }, []); + + useEffect(() => { + setTimeout(() => { + addonRef.current?.fit(); + terminalRef.current?.focus(); + }, 250); + }, []); + return (