From 352cda0a740f4943cceba585d7853ca97e473721 Mon Sep 17 00:00:00 2001 From: thislight Date: Sat, 7 Dec 2024 21:21:02 +0800 Subject: [PATCH] MediaQuickview: stop grabbing if mouse leaved --- src/platform/MediaQuickview.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/MediaQuickview.tsx b/src/platform/MediaQuickview.tsx index 74fabd2..e06cf0c 100644 --- a/src/platform/MediaQuickview.tsx +++ b/src/platform/MediaQuickview.tsx @@ -249,6 +249,7 @@ const MediaQuickview: Component = (props) => { onMouseDown={onMouseDown} onMouseMove={[onMouseMove, index]} onMouseUp={onMouseUp} + onMouseLeave={onMouseUp} >