From 148047db17e57356e61a82b6e20fa31833e25959 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} >