diff --git a/src/compiler/compile/nodes/EventHandler.ts b/src/compiler/compile/nodes/EventHandler.ts index 091e4ca77f..9e79f63406 100644 --- a/src/compiler/compile/nodes/EventHandler.ts +++ b/src/compiler/compile/nodes/EventHandler.ts @@ -13,6 +13,7 @@ const regex_contains_term_function_expression = /FunctionExpression/; const valid_modifiers = new Set([ 'preventDefault', 'stopPropagation', + 'stopImmediatePropagation', 'capture', 'once', 'passive',