From 30fc19b65c99f869b6025f5d89014ab47eeef9f8 Mon Sep 17 00:00:00 2001 From: valentino Date: Wed, 15 Jun 2016 13:39:56 -0400 Subject: [PATCH] Render all views --- src/TabbedView.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/TabbedView.js b/src/TabbedView.js index 2c33ed324..2cf88cea3 100644 --- a/src/TabbedView.js +++ b/src/TabbedView.js @@ -38,7 +38,7 @@ class TabbedView extends Component { { opacity: isSelected ? 1 : 0 }, ]} > - + {this.props.renderScene(navigationState, index)} @@ -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)); });