diff --git a/packages/frontend/editor-ui/src/app/constants/injectionKeys.ts b/packages/frontend/editor-ui/src/app/constants/injectionKeys.ts index f6e01923e28..613f99b472b 100644 --- a/packages/frontend/editor-ui/src/app/constants/injectionKeys.ts +++ b/packages/frontend/editor-ui/src/app/constants/injectionKeys.ts @@ -37,6 +37,16 @@ export const ExecutionDataStoreKey: InjectionKey< // derived from it via injectWorkflowExecutionStateStore(), so a subtree's // document scope and execution scope can never diverge. export const CanvasRenderDataKey: InjectionKey> = Symbol('CanvasRenderData'); +/** + * Opts resource-locator dropdowns into teleporting to ``. Defaults to + * `false` (stay in the local stacking context, e.g. inside the NDV dialog). + * Hosts that render parameters inside a scroll container overlaid by sticky + * elements (e.g. the Instance AI workflow setup card above the chat input) + * provide `true` so the dropdown isn't painted underneath those overlays. + */ +export const ResourceLocatorDropdownTeleportedKey: InjectionKey = Symbol( + 'ResourceLocatorDropdownTeleported', +); export const ChatHubToolContextKey: InjectionKey = Symbol('ChatHubToolContext'); export const AiBuilderScrollToBottomKey: InjectionKey<() => void> = Symbol('ChatScrollToBottom'); /** diff --git a/packages/frontend/editor-ui/src/features/ai/instanceAi/workflowSetup/InstanceAiWorkflowSetup.vue b/packages/frontend/editor-ui/src/features/ai/instanceAi/workflowSetup/InstanceAiWorkflowSetup.vue index cf3c10731c2..065b47f7ae3 100644 --- a/packages/frontend/editor-ui/src/features/ai/instanceAi/workflowSetup/InstanceAiWorkflowSetup.vue +++ b/packages/frontend/editor-ui/src/features/ai/instanceAi/workflowSetup/InstanceAiWorkflowSetup.vue @@ -1,9 +1,10 @@