We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26bd28b commit 05d618aCopy full SHA for 05d618a
packages/core/src/client/webcomponents/state/context.ts
@@ -145,8 +145,8 @@ export async function createDocksContext(
145
source: 'client',
146
title: 'Close Panel',
147
icon: 'ph:x-circle-duotone',
148
- when: 'dockOpen',
149
- keybindings: [],
+ when: 'dockOpen && !paletteOpen',
+ keybindings: [{ key: 'Escape' }],
150
action: () => {
151
panelStore.value.open = false
152
selectedId.value = null
0 commit comments