Comparing version 2.2.0 to 2.2.1
@@ -78,3 +78,3 @@ "use strict"; | ||
if (_data) { | ||
let searchElement = document.elementFromPoint(this.pageX, this.pageY); | ||
let searchElement = document.elementFromPoint(this.clientX, this.clientY); | ||
let droppingHandlers; | ||
@@ -81,0 +81,0 @@ while (searchElement && searchElement !== document.body) { |
{ | ||
"name": "rc-dock", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "dock layout for react component", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -102,3 +102,3 @@ export type DragType = 'left' | 'right' | 'touch'; | ||
if (_data) { | ||
let searchElement = document.elementFromPoint(this.pageX, this.pageY) as HTMLElement; | ||
let searchElement = document.elementFromPoint(this.clientX, this.clientY) as HTMLElement; | ||
let droppingHandlers: DragHandlers; | ||
@@ -105,0 +105,0 @@ while (searchElement && searchElement !== document.body) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
568818