From 108eb54875b030a2041f126edab8615b020a8a31 Mon Sep 17 00:00:00 2001 From: Nikita MIkhailov Date: Sun, 26 Jun 2022 11:21:16 +0300 Subject: [PATCH] feat(onLongPress): using event modifiers with directive and array value. --- packages/core/onLongPress/directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/onLongPress/directive.ts b/packages/core/onLongPress/directive.ts index e7403839cc3..1a3cc6c5986 100644 --- a/packages/core/onLongPress/directive.ts +++ b/packages/core/onLongPress/directive.ts @@ -19,7 +19,7 @@ BindingValueFunction | BindingValueArray if (typeof binding.value === 'function') onLongPress(el, binding.value, { modifiers: binding.modifiers }) else - onLongPress(el, binding.value[0], { ...binding.value[1], modifiers: binding.modifiers }) + onLongPress(el, binding.value[0], binding.value[1]) }, }