react-native-advance-draggable-view
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -37,2 +37,3 @@ var TENSION = 800; | ||
initialUsedSpace: initialUsedSpace, | ||
initialDrawerSize: initialDrawerSize, | ||
}; | ||
@@ -42,3 +43,3 @@ } | ||
closeDrawer = () => { | ||
this.startAnimation(-100, 0, this.state.finalPosition, null, this.state.initialPositon); | ||
this.startAnimation(-100, this.state.initialDrawerSize, this.state.finalPosition, null, this.state.initialPositon); | ||
this.props.onRelease && this.props.onRelease(false); // only add this line if you need to detect if the drawer is up or not | ||
@@ -45,0 +46,0 @@ } |
{ | ||
"name": "react-native-advance-draggable-view", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "react-component", |
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
482117
1007