Skip to content

Commit

Permalink
Render all views
Browse files Browse the repository at this point in the history
  • Loading branch information
xvalentino committed Jun 15, 2016
1 parent 1d74edb commit 30fc19b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/TabbedView.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TabbedView extends Component {
{ opacity: isSelected ? 1 : 0 },
]}
>
<StaticContainer shouldUpdate={isSelected}>
<StaticContainer shouldUpdate={true}>
{this.props.renderScene(navigationState, index)}
</StaticContainer>
</View>
Expand All @@ -50,9 +50,6 @@ class TabbedView extends Component {
const { index, children } = this.props.navigationState;
children.forEach((item, i) => {
const key = item.key;
if (i !== index && !this.renderedSceneKeys[key]) {
return;
}
this.renderedSceneKeys[key] = true;
scenes.push(this.renderScene(item, i));
});
Expand Down

0 comments on commit 30fc19b

Please sign in to comment.