fix(defineShortcuts): always pass event to shotcut handler (#4516)

This commit is contained in:
J-Michalek
2025-07-14 10:34:20 +02:00
committed by GitHub
parent 93dff3264f
commit ef473c3848

View File

@@ -122,7 +122,7 @@ export function defineShortcuts(config: MaybeRef<ShortcutsConfig>, options: Shor
if (shortcut.enabled) {
e.preventDefault()
shortcut.handler()
shortcut.handler(e)
}
clearChainedInput()
return