Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(dify-ui): let portal order stack overlays so nested modals block clicks (#44214)
yyh0d580fddf7df
diff --git a/.agents/skills/frontend-code-review/references/code-quality.md b/.agents/skills/frontend-code-review/references/code-quality.mdindex 0a7c41ae514..862c03a66f6 100644--- a/.agents/skills/frontend-code-review/references/code-quality.md+++ b/.agents/skills/frontend-code-review/references/code-quality.md@@ -38,7 +38,7 @@ Flag:- `!` important modifiers or important CSS overrides without a narrow, documented reason.- Manual class-list assembly through string concatenation, template strings, array `.join(' ')`, or a custom conditional combiner instead of `cn(...)`. Conditional values passed to `cn(...)` remain valid.- Incoming `className` placed before default classes in `cn(...)`, preventing call-site overrides.-- Arbitrary z-index or one-off layering fixes on overlays.+- Z-index, forced backdrops, or other one-off layering fixes on overlays and body-level portals.Use:diff --git a/packages/dify-ui/docs/overlays.md b/packages/dify-ui/docs/overlays.mdindex eba57c8481e..4eeee126179 100644--- a/packages/dify-ui/docs/overlays.md+++ b/packages/dify-ui/docs/overlays.md@@ -44,20 +44,17 @@ clipping.## Layering-| Layer | z-index |-| ----------------------------------------------------------------------- | ------- |-| Dialogs, pickers, drawers, menus, popovers, preview cards, and tooltips | `z-50` |-| Toast viewport | `z-60` |--Overlays at `z-50` rely on portal DOM order; the portal mounted later appears above earlier ones.-Toast remains one layer above ordinary overlays.+Overlays set no z-index; portal DOM order stacks them. A Base UI modal blocks outside clicks with+an unstyled sibling of its popup, so any overlay z-index can lift a lower layer above that guard.+Only a body-level layer that must stay above overlays mounted after it sets one. A portal into an+application container sits inside the isolated root and layers against its siblings there.Positioners hide with their anchor: Base UI marks them `data-anchor-hidden` when the anchor isclipped, `display: none` or unmounted, and the shared positioner class turns that into`visibility: hidden` plus `pointer-events: none` so a popup never lingers at the viewport origin.-- Do not add call-site `z-*` overrides. Fix the owning overlay structure when content is clipped- or hidden.+- Do not add call-site `z-*` overrides or force a backdrop to block clicks. Fix the owning overlay+ structure when content is clipped, hidden, or clickable behind a modal.- Do not wrap a Dify UI overlay in another manual portal.- Add shared backdrop or presentation chrome inside the owning exported component, not at callsites.diff --git a/packages/dify-ui/src/alert-dialog/index.tsx b/packages/dify-ui/src/alert-dialog/index.tsxindex 12b5121dd6d..235c74be15e 100644--- a/packages/dify-ui/src/alert-dialog/index.tsx+++ b/packages/dify-ui/src/alert-dialog/index.tsx@@ -64,7 +64,7 @@ function AlertDialogContent({<BaseAlertDialog.PopupclassName={(state) =>cn(- 'fixed top-1/2 left-1/2 z-50 max-h-[calc(100vh-2rem)] w-120 max-w-[calc(100vw-2rem)] -translate-x-1/2 -translate-y-1/2 overflow-y-auto overscroll-contain rounded-2xl border-[0.5px] border-components-panel-border bg-components-panel-bg shadow-lg',+ 'fixed top-1/2 left-1/2 max-h-[calc(100vh-2rem)] w-120 max-w-[calc(100vw-2rem)] -translate-x-1/2 -translate-y-1/2 overflow-y-auto overscroll-contain rounded-2xl border-[0.5px] border-components-panel-border bg-components-panel-bg shadow-lg',modalPopupAnimationClassName,resolveClassName(className, state),)diff --git a/packages/dify-ui/src/dialog/index.tsx b/packages/dify-ui/src/dialog/index.tsxindex 36753e7f84d..942157a118a 100644--- a/packages/dify-ui/src/dialog/index.tsx+++ b/packages/dify-ui/src/dialog/index.tsx@@ -51,7 +51,7 @@ type DialogViewportProps = BaseDialog.Viewport.Propsfunction DialogViewport({ className, ...props }: DialogViewportProps) {return (<BaseDialog.Viewport- className={(state) => cn('fixed inset-0 z-50', resolveClassName(className, state))}+ className={(state) => cn('fixed inset-0', resolveClassName(className, state))}{...props}/>)@@ -64,7 +64,7 @@ function DialogPopup({ className, ...props }: DialogPopupProps) {<BaseDialog.PopupclassName={(state) =>cn(- 'z-50 rounded-2xl border-[0.5px] border-components-panel-border bg-components-panel-bg shadow-xl',+ 'rounded-2xl border-[0.5px] border-components-panel-border bg-components-panel-bg shadow-xl',modalPopupAnimationClassName,resolveClassName(className, state),)diff --git a/packages/dify-ui/src/drawer/index.tsx b/packages/dify-ui/src/drawer/index.tsxindex 17d1abdae2e..dcb107c2652 100644--- a/packages/dify-ui/src/drawer/index.tsx+++ b/packages/dify-ui/src/drawer/index.tsx@@ -51,7 +51,7 @@ function DrawerBackdrop({ className, ...props }: DrawerBackdropProps) {<BaseDrawer.BackdropclassName={(state) =>cn(- 'absolute inset-0 z-50 bg-background-overlay opacity-[calc(1-var(--drawer-swipe-progress,0))]',+ 'absolute inset-0 bg-background-overlay opacity-[calc(1-var(--drawer-swipe-progress,0))]','transition-opacity duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0 data-swiping:duration-0 motion-reduce:transition-none',resolveClassName(className, state),)@@ -68,7 +68,7 @@ function DrawerViewport({ className, ...props }: DrawerViewportProps) {<BaseDrawer.ViewportclassName={(state) =>cn(- 'fixed inset-0 z-50 touch-none overflow-hidden overscroll-contain outline-hidden',+ 'fixed inset-0 touch-none overflow-hidden overscroll-contain outline-hidden',resolveClassName(className, state),)}@@ -84,7 +84,7 @@ function DrawerPopup({ className, ...props }: DrawerPopupProps) {<BaseDrawer.PopupclassName={(state) =>cn(- 'fixed z-50 flex min-h-0 touch-none flex-col overflow-hidden border-[0.5px] border-components-panel-border bg-components-panel-bg text-text-primary shadow-xl outline-hidden',+ 'fixed flex min-h-0 touch-none flex-col overflow-hidden border-[0.5px] border-components-panel-border bg-components-panel-bg text-text-primary shadow-xl outline-hidden','transition-[transform,opacity,box-shadow] duration-200 data-swiping:duration-0 data-swiping:select-none motion-reduce:transition-none','data-[swipe-direction=right]:inset-y-0 data-[swipe-direction=right]:right-0 data-[swipe-direction=right]:h-dvh data-[swipe-direction=right]:w-120 data-[swipe-direction=right]:max-w-[calc(100vw-2rem)] data-[swipe-direction=right]:transform-[translateX(var(--drawer-swipe-movement-x,0px))] data-[swipe-direction=right]:rounded-l-2xl data-[swipe-direction=right]:border-r-0','data-ending-style:data-[swipe-direction=right]:transform-[translateX(calc(100%+2px))] data-starting-style:data-[swipe-direction=right]:transform-[translateX(calc(100%+2px))]',diff --git a/packages/dify-ui/src/internal/overlay.ts b/packages/dify-ui/src/internal/overlay.tsindex 1cfed9f68d4..124465dfd2f 100644--- a/packages/dify-ui/src/internal/overlay.ts+++ b/packages/dify-ui/src/internal/overlay.ts@@ -10,10 +10,10 @@ export const floatingPopupAnimationClassName =// Positioners hide with their anchor: Base UI only emits `data-anchor-hidden` when the anchor is// clipped, display:none or unmounted, and would otherwise keep the popup at the viewport origin.export const positionerClassName =- 'z-50 outline-hidden data-anchor-hidden:invisible data-anchor-hidden:pointer-events-none'+ 'outline-hidden data-anchor-hidden:invisible data-anchor-hidden:pointer-events-none'export const hintPopupClassName ='max-w-75 rounded-lg border-[0.5px] border-components-panel-border bg-components-tooltip-bg p-1.5 text-start system-xs-medium wrap-break-word text-text-secondary shadow-[0px_12px_16px_-4px_var(--color-shadow-shadow-5),0px_4px_6px_-2px_var(--color-shadow-shadow-1)] backdrop-blur-[5px] origin-(--transform-origin) transition-opacity data-ending-style:opacity-0 data-instant:transition-none data-starting-style:opacity-0 motion-reduce:transition-none'export const modalBackdropClassName =- 'absolute inset-0 z-50 bg-background-overlay transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 motion-reduce:transition-none'+ 'absolute inset-0 bg-background-overlay transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 motion-reduce:transition-none'export const modalPopupAnimationClassName ='transition-[transform,scale,opacity] duration-150 data-ending-style:scale-95 data-ending-style:opacity-0 data-starting-style:scale-95 data-starting-style:opacity-0 motion-reduce:transition-none'diff --git a/packages/dify-ui/src/popover/index.tsx b/packages/dify-ui/src/popover/index.tsxindex 2c64f6b1f0e..079c42b9d6a 100644--- a/packages/dify-ui/src/popover/index.tsx+++ b/packages/dify-ui/src/popover/index.tsx@@ -47,7 +47,7 @@ type PopoverBackdropProps = BasePopover.Backdrop.Propsfunction PopoverBackdrop({ className, ...props }: PopoverBackdropProps) {return (<BasePopover.Backdrop- className={(state) => cn('fixed inset-0 z-50', resolveClassName(className, state))}+ className={(state) => cn('fixed inset-0', resolveClassName(className, state))}{...props}/>)diff --git a/packages/dify-ui/src/toast/index.tsx b/packages/dify-ui/src/toast/index.tsxindex ac02dd26f67..9e503e780f7 100644--- a/packages/dify-ui/src/toast/index.tsx+++ b/packages/dify-ui/src/toast/index.tsx@@ -240,7 +240,7 @@ function Toaster({<BaseToast.Provider toastManager={toastManager} timeout={timeout} limit={limit}><BaseToast.Portal><BaseToast.Viewport- className="pointer-events-none fixed top-4 right-4 z-60 w-90 max-w-[calc(100vw-2rem)] overflow-visible sm:right-8"+ className="pointer-events-none fixed top-4 right-4 z-50 w-90 max-w-[calc(100vw-2rem)] overflow-visible sm:right-8"style={offset}>{children}diff --git a/web/app/components/base/agent-log-modal/__tests__/index.spec.tsx b/web/app/components/base/agent-log-modal/__tests__/index.spec.tsxindex c0816744d31..ee866e001d7 100644--- a/web/app/components/base/agent-log-modal/__tests__/index.spec.tsx+++ b/web/app/components/base/agent-log-modal/__tests__/index.spec.tsx@@ -156,7 +156,7 @@ describe('AgentLogModal', () => {const modal = screen.getByRole('dialog')expect(container).not.toContainElement(modal)expect(document.body).toContainElement(modal)- expect(modal).toHaveClass('fixed', 'z-50', 'w-120!', 'left-[max(8px,calc(100vw-1136px))]!')+ expect(modal).toHaveClass('fixed', 'w-120!', 'left-[max(8px,calc(100vw-1136px))]!')})it('should call onCancel when close button is clicked', () => {diff --git a/web/app/components/base/chat/chat-with-history/inputs-form/__tests__/content.spec.tsx b/web/app/components/base/chat/chat-with-history/inputs-form/__tests__/content.spec.tsxindex 94932f32ad7..4f2146d343f 100644--- a/web/app/components/base/chat/chat-with-history/inputs-form/__tests__/content.spec.tsx+++ b/web/app/components/base/chat/chat-with-history/inputs-form/__tests__/content.spec.tsx@@ -333,27 +333,6 @@ describe('InputsFormContent', () => {)})- it('renders select dropdown on the shared dify-ui overlay layer', async () => {- const user = userEvent.setup()- const context = createMockContext({- inputsForms: [- {- variable: 'sel',- type: InputVarType.select,- label: 'Sel',- options: ['A', 'B'],- default: 'B',- },- ],- currentConversationInputs: {},- })-- renderWithContext(<InputsFormContent />, context)- await user.click(screen.getByText('B'))-- expect(screen.getByText('A').closest('.z-50')).not.toBeNull()- })-it('handles select input with existing value (value not in options -> shows placeholder)', () => {const context = createMockContext({inputsForms: [diff --git a/web/app/components/base/chat/embedded-chatbot/inputs-form/__tests__/content.spec.tsx b/web/app/components/base/chat/embedded-chatbot/inputs-form/__tests__/content.spec.tsxindex a4eeee89dc7..8895703b2dd 100644--- a/web/app/components/base/chat/embedded-chatbot/inputs-form/__tests__/content.spec.tsx+++ b/web/app/components/base/chat/embedded-chatbot/inputs-form/__tests__/content.spec.tsx@@ -211,16 +211,6 @@ describe('InputsFormContent', () => {expect(mockContextValue.handleNewConversationInputsChange).toHaveBeenCalled()})- it('should render select dropdown on the shared dify-ui overlay layer', async () => {- render(<InputsFormContent />)- const selectTrigger = screen.getAllByText(/Select Label/i).find((el) => el.tagName === 'SPAN')- if (!selectTrigger) throw new Error('Select trigger not found')-- await user.click(selectTrigger)-- expect(screen.getByText('Option 1').closest('.z-50')).not.toBeNull()- })-it('should handle single file upload change', async () => {render(<InputsFormContent />)const uploadButtons = screen.getAllByText('Upload')diff --git a/web/app/components/base/prompt-editor/plugins/component-picker-block/__tests__/index.spec.tsx b/web/app/components/base/prompt-editor/plugins/component-picker-block/__tests__/index.spec.tsxindex bcba6c235a6..265e6ad6c21 100644--- a/web/app/components/base/prompt-editor/plugins/component-picker-block/__tests__/index.spec.tsx+++ b/web/app/components/base/prompt-editor/plugins/component-picker-block/__tests__/index.spec.tsx@@ -798,7 +798,6 @@ describe('ComponentPicker (component-picker-block/index.tsx)', () => {await setEditorText(editor, '{', true)const typeaheadMenu = document.getElementById('typeahead-menu')expect(typeaheadMenu).not.toBeNull()- expect(typeaheadMenu).toHaveClass('z-50')const ce = screen.getByTestId(CONTENT_EDITABLE_TEST_ID)const fiber = getReactFiberFromDom(ce)diff --git a/web/app/components/base/prompt-editor/plugins/component-picker-block/index.tsx b/web/app/components/base/prompt-editor/plugins/component-picker-block/index.tsxindex a10d8adfbf3..38c3398f0b9 100644--- a/web/app/components/base/prompt-editor/plugins/component-picker-block/index.tsx+++ b/web/app/components/base/prompt-editor/plugins/component-picker-block/index.tsx@@ -374,7 +374,7 @@ const ComponentPicker = ({//// We no need the position function of the `LexicalTypeaheadMenuPlugin`,// so the reference anchor should be positioned based on the range of the trigger string, and the menu will be positioned by the floating ui.- anchorClassName="z-50 translate-y-[calc(-100%-3px)]"+ anchorClassName="translate-y-[calc(-100%-3px)]"menuRenderFn={renderMenu}triggerFn={checkForTriggerMatch}/>diff --git a/web/app/components/base/prompt-editor/plugins/shortcuts-popup-plugin/__tests__/index.spec.tsx b/web/app/components/base/prompt-editor/plugins/shortcuts-popup-plugin/__tests__/index.spec.tsxindex a917bccfa94..24622df07d4 100644--- a/web/app/components/base/prompt-editor/plugins/shortcuts-popup-plugin/__tests__/index.spec.tsx+++ b/web/app/components/base/prompt-editor/plugins/shortcuts-popup-plugin/__tests__/index.spec.tsx@@ -218,7 +218,6 @@ describe('ShortcutsPopupPlugin', () => {const floatingDiv = screen.getByTestId('shortcuts-popup')expect(document.body).toContainElement(portalContent)expect(floatingDiv).toHaveStyle({ position: 'fixed' })- expect(floatingDiv).toHaveStyle({ zIndex: '50' })expect(floatingDiv).toHaveStyle({ overflow: 'visible' })})diff --git a/web/app/components/base/prompt-editor/plugins/shortcuts-popup-plugin/index.tsx b/web/app/components/base/prompt-editor/plugins/shortcuts-popup-plugin/index.tsxindex 594dd2d1801..1f3528a9350 100644--- a/web/app/components/base/prompt-editor/plugins/shortcuts-popup-plugin/index.tsx+++ b/web/app/components/base/prompt-editor/plugins/shortcuts-popup-plugin/index.tsx@@ -276,7 +276,8 @@ export default function ShortcutsPopupPlugin({right: fixedPlacementState.right,top: fixedPlacementState.top,transform: 'translateY(-50%)',- zIndex: 50,+ // Inside an app container it must clear sibling content; at body level DOM order stacks it.+ zIndex: useContainer ? 50 : undefined,overflow: 'visible',visibility: 'visible','--shortcut-popup-max-width': `${Math.min(POPUP_MAX_WIDTH, fixedPlacementState.availableWidth)}px`,@@ -306,7 +307,6 @@ export default function ShortcutsPopupPlugin({? fixedPanelAdjacentStyles: {...floatingStyles,- zIndex: useContainer ? undefined : 50,overflow: 'visible',visibility: isPositioned ? 'visible' : 'hidden',}diff --git a/web/app/components/header/account-setting/members-page/edit-workspace-modal/__tests__/index.spec.tsx b/web/app/components/header/account-setting/members-page/edit-workspace-modal/__tests__/index.spec.tsxindex ebaa050c66a..646b65201b1 100644--- a/web/app/components/header/account-setting/members-page/edit-workspace-modal/__tests__/index.spec.tsx+++ b/web/app/components/header/account-setting/members-page/edit-workspace-modal/__tests__/index.spec.tsx@@ -75,12 +75,6 @@ describe('EditWorkspaceModal', () => {expect(await screen.findByDisplayValue('Test Workspace')).toBeInTheDocument()})- it('should render on the dify-ui overlay layer', async () => {- renderModal()-- expect(await screen.findByRole('dialog')).toHaveClass('z-50')- })-it('should let user edit workspace name', async () => {const user = userEvent.setup()diff --git a/web/app/components/step-by-step-tour/coachmark.tsx b/web/app/components/step-by-step-tour/coachmark.tsxindex 536d716a7ef..964758ccf93 100644--- a/web/app/components/step-by-step-tour/coachmark.tsx+++ b/web/app/components/step-by-step-tour/coachmark.tsx@@ -283,7 +283,7 @@ export function StepByStepTourCoachmark({aria-hidden="true"data-step-by-step-tour-backdrop=""data-step-by-step-tour-blocker=""- className="fixed z-50 cursor-default bg-transparent"+ className="fixed cursor-default bg-transparent"style={style}/>))@@ -291,7 +291,7 @@ export function StepByStepTourCoachmark({<divaria-hidden="true"data-step-by-step-tour-backdrop=""- className="fixed inset-0 z-50 cursor-default bg-transparent"+ className="fixed inset-0 cursor-default bg-transparent"/>)}{stableOverlay && highlightStyle && (@@ -299,12 +299,12 @@ export function StepByStepTourCoachmark({<divaria-hidden="true"data-step-by-step-tour-highlight=""- className="pointer-events-none fixed z-50 rounded-xl shadow-[0_0_0_9999px_var(--color-background-overlay)]"+ className="pointer-events-none fixed rounded-xl shadow-[0_0_0_9999px_var(--color-background-overlay)]"style={highlightStyle}/><divref={coachmarkRef}- className="fixed z-50 w-88 max-w-[calc(100vw-16px)]"+ className="fixed w-88 max-w-[calc(100vw-16px)]"data-step-by-step-tour-coachmark=""style={stableOverlay.coachmarkPosition.bubbleStyle}>diff --git a/web/app/components/tools/provider/__tests__/detail.spec.tsx b/web/app/components/tools/provider/__tests__/detail.spec.tsxindex 7a279a0a786..6ef5b324be1 100644--- a/web/app/components/tools/provider/__tests__/detail.spec.tsx+++ b/web/app/components/tools/provider/__tests__/detail.spec.tsx@@ -295,9 +295,7 @@ describe('ProviderDetail', () => {const dialog = screen.getByRole('dialog')- expect(- document.querySelector('.absolute.inset-0.z-50.bg-transparent'),- ).not.toBeInTheDocument()+ expect(document.querySelector('.absolute.inset-0.bg-transparent')).not.toBeInTheDocument()expect(dialog.closest('.pointer-events-none')).toBeInTheDocument()expect(dialog).toHaveClass('pointer-events-auto',diff --git a/web/app/components/workflow/comment/mention-input.tsx b/web/app/components/workflow/comment/mention-input.tsxindex b1a9ff2e9eb..a189e4c5bc4 100644--- a/web/app/components/workflow/comment/mention-input.tsx+++ b/web/app/components/workflow/comment/mention-input.tsx@@ -642,7 +642,7 @@ const MentionInputInner = forwardRef<HTMLTextAreaElement, MentionInputProps>(typeof document !== 'undefined' &&createPortal(<div- className="fixed z-50 max-h-62 w-70 overflow-y-auto rounded-xl border-[0.5px] border-components-panel-border bg-components-panel-bg/95 shadow-lg backdrop-blur-[10px]"+ className="fixed max-h-62 w-70 overflow-y-auto rounded-xl border-[0.5px] border-components-panel-border bg-components-panel-bg/95 shadow-lg backdrop-blur-[10px]"style={{left: dropdownPosition.x,[dropdownPosition.placement === 'top' ? 'bottom' : 'top']:diff --git a/web/app/components/workflow/nodes/_base/components/editor/code-editor/editor-support-vars.tsx b/web/app/components/workflow/nodes/_base/components/editor/code-editor/editor-support-vars.tsxindex 3d036de41e9..75fca636a91 100644--- a/web/app/components/workflow/nodes/_base/components/editor/code-editor/editor-support-vars.tsx+++ b/web/app/components/workflow/nodes/_base/components/editor/code-editor/editor-support-vars.tsx@@ -152,7 +152,7 @@ const CodeEditor: FC<Props> = ({ availableVars, varList, onAddVar, ...editorPropcreatePortal(<divref={popupRef}- className="fixed z-50 w-57 space-y-1 rounded-lg border border-components-panel-border bg-components-panel-bg p-1 shadow-lg"+ className="fixed w-57 space-y-1 rounded-lg border border-components-panel-border bg-components-panel-bg p-1 shadow-lg"style={{top: popupPosition.y,left: popupPosition.x,diff --git a/web/app/components/workflow/nodes/agent-v2/components/agent-roster-field.tsx b/web/app/components/workflow/nodes/agent-v2/components/agent-roster-field.tsxindex caad052f6e5..dbf9e824c86 100644--- a/web/app/components/workflow/nodes/agent-v2/components/agent-roster-field.tsx+++ b/web/app/components/workflow/nodes/agent-v2/components/agent-roster-field.tsx@@ -135,7 +135,8 @@ function AgentRosterDrawer({}}><DrawerPortal container={portalContainerRef}>- <DrawerViewport className="pointer-events-none">+ {/* Portaled into the panel, not body: keep a layer above the panel's positioned content. */}+ <DrawerViewport className="pointer-events-none z-50"><DrawerPopupclassName="pointer-events-auto p-0 data-[swipe-direction=right]:top-14 data-[swipe-direction=right]:bottom-1 data-[swipe-direction=right]:h-auto data-[swipe-direction=right]:rounded-2xl data-[swipe-direction=right]:border-[0.5px] data-[swipe-direction=right]:border-r-[0.5px] data-[swipe-direction=right]:border-divider-subtle data-[swipe-direction=right]:shadow-2xl data-[swipe-direction=right]:shadow-shadow-shadow-5"style={{diff --git a/web/app/components/workflow/nodes/agent-v2/panel.tsx b/web/app/components/workflow/nodes/agent-v2/panel.tsxindex 5066ac3a861..9d4547f35c4 100644--- a/web/app/components/workflow/nodes/agent-v2/panel.tsx+++ b/web/app/components/workflow/nodes/agent-v2/panel.tsx@@ -79,7 +79,7 @@ function FloatingOutputEditor({return createPortal(<div- className="fixed z-50 w-100"+ className="fixed w-100"style={{left: position.left,top: position.top,