MediaQuickview: stop grabbing if mouse leaved
This commit is contained in:
parent
ebf9283dc6
commit
352cda0a74
1 changed files with 1 additions and 0 deletions
|
@ -249,6 +249,7 @@ const MediaQuickview: Component<MediaQuickviewProps> = (props) => {
|
||||||
onMouseDown={onMouseDown}
|
onMouseDown={onMouseDown}
|
||||||
onMouseMove={[onMouseMove, index]}
|
onMouseMove={[onMouseMove, index]}
|
||||||
onMouseUp={onMouseUp}
|
onMouseUp={onMouseUp}
|
||||||
|
onMouseLeave={onMouseUp}
|
||||||
>
|
>
|
||||||
<Switch>
|
<Switch>
|
||||||
<Match when={item().cat === "image"}>
|
<Match when={item().cat === "image"}>
|
||||||
|
|
Loading…
Add table
Reference in a new issue