From 4f02d38d1a84d438173152fe53d74de1dc950f8f Mon Sep 17 00:00:00 2001 From: reverie3 <37984867+reverie3@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:23:48 +0300 Subject: [PATCH] fix(kit): strange behavior in Safari when working with tiles (#9956) --- projects/kit/components/tiles/tile-handle.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/kit/components/tiles/tile-handle.directive.ts b/projects/kit/components/tiles/tile-handle.directive.ts index d7cf7d98c7c2..6634587fbba8 100644 --- a/projects/kit/components/tiles/tile-handle.directive.ts +++ b/projects/kit/components/tiles/tile-handle.directive.ts @@ -25,7 +25,7 @@ export class TuiTileHandleDirective { constructor(@Inject(TuiTileComponent) private readonly tile: TuiTileComponent) {} - @HostListener('pointerdown.silent', ['$event']) + @HostListener('pointerdown.silent.prevent', ['$event']) onStart(event: PointerEvent): void { const target = tuiGetActualTarget(event); const {x, y, pointerId} = event;