rc-cascader
Advanced tools
Comparing version 3.9.0 to 3.9.1
@@ -89,4 +89,8 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
var triggerOpenPath = function triggerOpenPath() { | ||
if (!disabled && (!hoverOpen || !isMergedLeaf)) { | ||
onActive(fullPath); | ||
if (!disabled) { | ||
var nextValueCells = _toConsumableArray(fullPath); | ||
if (hoverOpen && isMergedLeaf) { | ||
nextValueCells.pop(); | ||
} | ||
onActive(nextValueCells); | ||
} | ||
@@ -93,0 +97,0 @@ }; |
@@ -101,4 +101,8 @@ "use strict"; | ||
var triggerOpenPath = function triggerOpenPath() { | ||
if (!disabled && (!hoverOpen || !isMergedLeaf)) { | ||
onActive(fullPath); | ||
if (!disabled) { | ||
var nextValueCells = (0, _toConsumableArray2.default)(fullPath); | ||
if (hoverOpen && isMergedLeaf) { | ||
nextValueCells.pop(); | ||
} | ||
onActive(nextValueCells); | ||
} | ||
@@ -105,0 +109,0 @@ }; |
{ | ||
"name": "rc-cascader", | ||
"version": "3.9.0", | ||
"version": "3.9.1", | ||
"description": "cascade select ui component for react", | ||
@@ -45,3 +45,3 @@ "keywords": [ | ||
"@rc-component/father-plugin": "^1.0.0", | ||
"@rc-component/trigger": "^1.4.0", | ||
"@rc-component/trigger": "^1.5.0", | ||
"@testing-library/react": "^12.1.5", | ||
@@ -48,0 +48,0 @@ "@types/classnames": "^2.2.6", |
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
161318
3044