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 e555c24 commit f8a912eCopy full SHA for f8a912e
src/input.ts
@@ -329,7 +329,7 @@ class MouseDown {
329
330
const target = flushed ? null : event.target as HTMLElement
331
const targetDesc = target ? view.docView.nearestDesc(target, true) : null
332
- this.target = targetDesc && targetDesc.dom.nodeType == 1 ? targetDesc.dom as HTMLElement : null
+ this.target = targetDesc && targetDesc.nodeDOM.nodeType == 1 ? targetDesc.nodeDOM as HTMLElement : null
333
334
let {selection} = view.state
335
if (event.button == 0 &&
0 commit comments