Skip to content

Commit a61d610

Browse files
author
Adam Argyle
committed
fixes #589
1 parent 3c2e709 commit a61d610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/selection/handle.element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class Handle extends HTMLElement {
3737
if (e.button !== 0) return
3838

3939
const placement = this.placement
40-
const handlesEl = e.path.find(el => el.tagName === 'VISBUG-HANDLES')
40+
const handlesEl = e.composedPath().find(el => el.tagName === 'VISBUG-HANDLES')
4141
const nodeLabelId = handlesEl.getAttribute('data-label-id')
4242
const [sourceEl] = $(`[data-label-id="${nodeLabelId}"]`)
4343

0 commit comments

Comments
 (0)