Comparing version 4.6.0 to 4.6.1
@@ -41,2 +41,3 @@ 'use strict'; | ||
closeSubMenuOnMouseLeave: _react2['default'].PropTypes.bool, | ||
openSubMenuOnMouseEnter: _react2['default'].PropTypes.bool, | ||
onDeselect: _react2['default'].PropTypes.func, | ||
@@ -171,2 +172,5 @@ onDestroy: _react2['default'].PropTypes.func, | ||
onClick: function onClick() { | ||
if (this.props.openSubMenuOnMouseEnter) { | ||
return; | ||
} | ||
this.triggerOpenChange(!this.props.open, 'click'); | ||
@@ -173,0 +177,0 @@ this.setState({ |
{ | ||
"name": "rc-menu", | ||
"version": "4.6.0", | ||
"version": "4.6.1", | ||
"description": "menu ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
65515
1520