We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 853ba8e commit 49cfd3bCopy full SHA for 49cfd3b
index.js
@@ -124,7 +124,7 @@ const ScrollableTabView = createReactClass({
124
this.updateSceneKeys({ page: currentPage, children: props.children, });
125
}
126
127
- if (this.props.page >= 0 && this.props.page !== currentPage) {
+ if (this.props.page !== prevProps.page && this.props.page >= 0 && this.props.page !== currentPage) {
128
this.goToPage(this.props.page);
129
130
},
0 commit comments