From ef473c3848db23be7a2ab6fa32202cd52d7c8239 Mon Sep 17 00:00:00 2001 From: J-Michalek <71264422+J-Michalek@users.noreply.github.com> Date: Mon, 14 Jul 2025 10:34:20 +0200 Subject: [PATCH] fix(defineShortcuts): always pass event to shotcut handler (#4516) --- src/runtime/composables/defineShortcuts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/composables/defineShortcuts.ts b/src/runtime/composables/defineShortcuts.ts index 75655fd0..1632a7c9 100644 --- a/src/runtime/composables/defineShortcuts.ts +++ b/src/runtime/composables/defineShortcuts.ts @@ -122,7 +122,7 @@ export function defineShortcuts(config: MaybeRef, options: Shor if (shortcut.enabled) { e.preventDefault() - shortcut.handler() + shortcut.handler(e) } clearChainedInput() return