Skip to content

Commit ad4757c

Browse files
committed
Update index.js
1 parent ce5acb9 commit ad4757c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var ScrollableTabView = React.createClass({
5959
if (Math.abs(gestureState.dx) > Math.abs(gestureState.dy)) {
6060
if ((gestureState.moveX <= this.props.edgeHitWidth ||
6161
gestureState.moveX >= deviceWidth - this.props.edgeHitWidth) &&
62-
this.props.scrollDisabled !== true) {
62+
this.props.locked !== true) {
6363
return true;
6464
}
6565
}

0 commit comments

Comments
 (0)