diff --git a/components/lib/tabview/TabView.js b/components/lib/tabview/TabView.js index de4691ba55..a5cf7b68af 100644 --- a/components/lib/tabview/TabView.js +++ b/components/lib/tabview/TabView.js @@ -230,10 +230,6 @@ export class TabView extends Component { if (prevProps.activeIndex !== this.props.activeIndex) { this.updateScrollBar(this.props.activeIndex); } - - if (prevProps.children !== this.props.children) { - this.setState({ hiddenTabs: [] }); - } } renderTabHeader(tab, index) {