From b6813bccf35d29bea40ca128d0b80670b86d507e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adina=20=C8=9Aeudan?= Date: Fri, 22 Mar 2024 00:17:13 +0200 Subject: [PATCH] Added prevent default to stop propagation directive --- src/lib/directives/stop-propagation.directive.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/directives/stop-propagation.directive.ts b/src/lib/directives/stop-propagation.directive.ts index 211bfb3..51ac9b6 100644 --- a/src/lib/directives/stop-propagation.directive.ts +++ b/src/lib/directives/stop-propagation.directive.ts @@ -20,6 +20,7 @@ export class StopPropagationDirective { if (this.iqserStopPropagation) { this.#logger.info('[CLICK] iqserStopPropagation'); + $event.preventDefault(); $event.stopPropagation(); } }