Skip to content

Commit e7fcdaa

Browse files
authored
🗞️ Stop propagation of pointer down event (#84)
1 parent 1728bbe commit e7fcdaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/GridItem.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@
197197
198198
function moveStart(event: PointerEvent) {
199199
if (event.button !== 0) return;
200+
event.stopPropagation();
200201
initInteraction(event);
201202
initialPosition = { left, top };
202203
pointerShift = { left: event.pageX - left, top: event.pageY - top };

0 commit comments

Comments
 (0)