rc-swipeout
Advanced tools
Comparing version 1.2.4 to 1.2.5
# History | ||
# 1.2.5 | ||
- fix: onCloseSwipe prefixCls bug; | ||
## 1.2.3 | ||
@@ -4,0 +8,0 @@ |
@@ -85,6 +85,8 @@ 'use strict'; | ||
Swipeout.prototype.onCloseSwipe = function onCloseSwipe(ev) { | ||
var _this2 = this; | ||
if (this.openedLeft || this.openedRight) { | ||
var pNode = function (node) { | ||
while (node.parentNode && node.parentNode !== document.body) { | ||
if (node.className.indexOf('rc-swipeout-actions') > -1) { | ||
if (node.className.indexOf(_this2.props.prefixCls + '-actions') > -1) { | ||
return node; | ||
@@ -217,3 +219,3 @@ } | ||
Swipeout.prototype.renderButtons = function renderButtons(buttons, ref) { | ||
var _this2 = this; | ||
var _this3 = this; | ||
@@ -232,3 +234,3 @@ var prefixCls = this.props.prefixCls; | ||
onClick: function onClick(e) { | ||
return _this2.onBtnClick(e, btn); | ||
return _this3.onBtnClick(e, btn); | ||
} | ||
@@ -235,0 +237,0 @@ }, |
{ | ||
"name": "rc-swipeout", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "swipe out ui component for react(web and react-native)", | ||
@@ -52,3 +52,3 @@ "keywords": [ | ||
"pre-commit": "1.x", | ||
"rc-tools": "5.x", | ||
"rc-tools": "~5.10.3", | ||
"react": "~15.2.1", | ||
@@ -55,0 +55,0 @@ "react-addons-test-utils": "~15.2.1", |
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
20900
465