Skip to content

Commit

Permalink
fix(Tabs): rn swipeable. close ant-design#1346 (ant-design#1351)
Browse files Browse the repository at this point in the history
  • Loading branch information
paranoidjk authored and lixiaoyang1992 committed Apr 26, 2018
1 parent db96912 commit 9fc7ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tabs/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Tabs extends React.Component<TabsProps, any> {
scrollWithoutAnimation={!animated}
initialPage={defaultActiveIndex}
page={activeIndex}
locked={swipeable}
locked={!swipeable}
renderTabBar={this.renderTabBar}
onChangeTab={this.onTabClick}
>
Expand Down

0 comments on commit 9fc7ca2

Please sign in to comment.