From 2ba94db09e1ba86020d5d289f1ca1e24ef706299 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Fri, 23 May 2025 17:32:18 +0200 Subject: [PATCH] fix(CommandPalette): add `presentation` role to viewport --- src/runtime/components/CommandPalette.vue | 2 +- .../CommandPalette-vue.spec.ts.snap | 44 +++++++++---------- .../__snapshots__/CommandPalette.spec.ts.snap | 44 +++++++++---------- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/runtime/components/CommandPalette.vue b/src/runtime/components/CommandPalette.vue index f0ee6e93..488d9587 100644 --- a/src/runtime/components/CommandPalette.vue +++ b/src/runtime/components/CommandPalette.vue @@ -280,7 +280,7 @@ const groups = computed(() => { -
+
{{ get(group, props.labelKey as string) }} diff --git a/test/components/__snapshots__/CommandPalette-vue.spec.ts.snap b/test/components/__snapshots__/CommandPalette-vue.spec.ts.snap index e2c3212a..7dfc4f4e 100644 --- a/test/components/__snapshots__/CommandPalette-vue.spec.ts.snap +++ b/test/components/__snapshots__/CommandPalette-vue.spec.ts.snap @@ -6,7 +6,7 @@ exports[`CommandPalette > renders with as correctly 1`] = `
-
+