Browse Source

Fix D&D in Dragger class. Closes #4792

pull/4830/head
Artur Arseniev 4 years ago
parent
commit
17f0c4f62c
  1. 2
      src/utils/Dragger.ts

2
src/utils/Dragger.ts

@ -398,7 +398,7 @@ export default class Dragger {
const { doc } = this.opts; const { doc } = this.opts;
el = el || this.el; el = el || this.el;
if (!this.docs) { if (!this.docs.length) {
const docs = [document]; const docs = [document];
el && docs.push(el.ownerDocument); el && docs.push(el.ownerDocument);
doc && docs.push(doc); doc && docs.push(doc);

Loading…
Cancel
Save