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 d9934c3 commit 1b9000eCopy full SHA for 1b9000e
lib/utils/positionFns.es6
@@ -18,7 +18,7 @@ export function getBoundPosition(draggable: Draggable, x: number, y: number): [n
18
19
if (typeof bounds === 'string') {
20
const {ownerDocument} = node;
21
- const ownerWindow = node.defaultView;
+ const ownerWindow = ownerDocument.defaultView;
22
let boundNode;
23
if (bounds === 'parent') {
24
boundNode = node.parentNode;
0 commit comments