We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7f46de commit d2804fbCopy full SHA for d2804fb
index.js
@@ -120,7 +120,7 @@ const ScrollableTabView = createReactClass({
120
this.updateSceneKeys({ page: this.state.currentPage, children: this.props.children, });
121
}
122
123
- if (this.props.page >= 0 && this.props.page !== this.state.currentPage) {
+ if (this.props.page !== prevProps.page && this.props.page >= 0 && this.props.page !== this.state.currentPage) {
124
this.goToPage(this.props.page);
125
126
},
0 commit comments