We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c2e709 commit a61d610Copy full SHA for a61d610
app/components/selection/handle.element.js
@@ -37,7 +37,7 @@ export class Handle extends HTMLElement {
37
if (e.button !== 0) return
38
39
const placement = this.placement
40
- const handlesEl = e.path.find(el => el.tagName === 'VISBUG-HANDLES')
+ const handlesEl = e.composedPath().find(el => el.tagName === 'VISBUG-HANDLES')
41
const nodeLabelId = handlesEl.getAttribute('data-label-id')
42
const [sourceEl] = $(`[data-label-id="${nodeLabelId}"]`)
43
0 commit comments