diff --git a/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx b/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx index 94fa3ea86b2..f20ea4111c1 100644 --- a/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx +++ b/libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx @@ -243,7 +243,8 @@ export const TabsUI = (props: TabsUIProps) => { data-id="script-config" className="btn text-dark border-left ml-2 pr-0 py-0 d-flex" onClick={async () => { - props.plugin.call('manager', 'activatePlugin', 'UIScriptRunner') + await props.plugin.call('manager', 'activatePlugin', 'UIScriptRunner') + await props.plugin.call('tabs', 'focus', 'UIScriptRunner') }} >