Skip to content

Commit

Permalink
refactor: handleClickOutside only deactivates keyboard navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
zedjarvis committed Feb 27, 2024
1 parent d3a4ffe commit 1156cc6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/VueCompareImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down

0 comments on commit 1156cc6

Please sign in to comment.