From 1156cc6cdd3d26c8158bc774cb0553259bc3a58f Mon Sep 17 00:00:00 2001 From: zedjarvis Date: Tue, 27 Feb 2024 12:47:11 +0300 Subject: [PATCH] refactor: handleClickOutside only deactivates keyboard navigation --- src/components/VueCompareImage.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/VueCompareImage.vue b/src/components/VueCompareImage.vue index e29a2d7..76e894d 100644 --- a/src/components/VueCompareImage.vue +++ b/src/components/VueCompareImage.vue @@ -262,7 +262,6 @@ function handleOnClickOutside(event: KeyboardEvent | MouseEvent) { // The click is outside the container, remove the event listener containerRef.value.blur() window.removeEventListener('keydown', handleKeyDown) - finishSliding() } }