@plesk/react-movable
Advanced tools
Comparing version 2.7.0 to 2.7.1
@@ -438,3 +438,2 @@ "use strict"; | ||
document.addEventListener('mousedown', this.onMouseOrTouchStart); | ||
// console.log('listref', !!this.listRef.current?.querySelector('[data-movable-handle]') ); | ||
}; | ||
@@ -453,3 +452,3 @@ List.prototype.componentDidUpdate = function (_prevProps, prevState) { | ||
var _this = this; | ||
var baseStyle = __assign(__assign({}, (this.props.hasHandle ? undefined : { | ||
var baseStyle = __assign(__assign({}, (this.props.useDragHandle ? undefined : { | ||
userSelect: 'none', | ||
@@ -456,0 +455,0 @@ WebkitUserSelect: 'none', |
@@ -52,5 +52,5 @@ /// <reference types="react" /> | ||
}; | ||
hasHandle?: boolean; | ||
useDragHandle?: boolean; | ||
} | ||
export declare type TEvent = React.MouseEvent | React.TouchEvent | React.KeyboardEvent; | ||
export {}; |
{ | ||
"name": "@plesk/react-movable", | ||
"version": "2.7.0", | ||
"version": "2.7.1", | ||
"description": "Drag and drop lists.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
53730
809