Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/hub-ui/src/client/components/dock/DockEmbedded.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ useEventListener(window, 'mousedown', (e: MouseEvent) => {
const el = _el as HTMLElement
return [...(el.classList || [])].some(c => c.startsWith('devframes-'))
|| el.id?.startsWith('devframes-')
// Portaled menus share the dock's shadow root, outside the panel element.
|| el.tagName?.toLowerCase() === 'devframes-dock-embedded'
|| el.tagName?.toLowerCase() === 'iframe'
})

Expand Down
2 changes: 2 additions & 0 deletions packages/hub-ui/uno.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ export default mergeConfigs([
'z-viewframe-resizer': 'z-[30]',
'z-floating-dock': 'z-[50]',
'z-floating-anchor': 'z-[2147483644]',
/** Portaled menus sit above the dock shell and below the command palette. */
'z-dropdown': 'z-[2147483645]',
'z-floating-tooltip': 'z-[2147483645]',
'z-command-palette': 'z-[2147483646]',
/**
Expand Down
Loading