Skip to content

Commit

Permalink
feat(viewer): apply mouseleave to taskUntil
Browse files Browse the repository at this point in the history
  • Loading branch information
LTakhyunKim committed Jun 19, 2023
1 parent 1dd5189 commit d9cc5a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default function useHandleDrag({ image, element, interaction, onViewportC
deltaY,
}
}),
takeUntil(mouseup$)
takeUntil(merge(mouseup$, mouseleave$))
)
})
)
Expand Down

0 comments on commit d9cc5a4

Please sign in to comment.