Skip to content

Commit

Permalink
Fixed #2573 - TabView programmatically set activeIndex is ignored in …
Browse files Browse the repository at this point in the history
…onTabClose function.
  • Loading branch information
mertsincan committed Jan 18, 2022
1 parent 1aff78a commit 4fcb90e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions components/lib/tabview/TabView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4fcb90e

Please sign in to comment.