Skip to content

Commit

Permalink
reproducing Hanging with popTo
Browse files Browse the repository at this point in the history
  • Loading branch information
compojoom committed Aug 14, 2017
1 parent efdcc43 commit 4c02194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Example/components/Register.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default class Register extends React.Component {
<Button onPress={()=>Actions.register2()}>Register</Button>
<Button onPress={Actions.home}>Replace screen</Button>
<Button onPress={Actions.pop}>Back</Button>
<Button onPress={() => Actions.popTo('tab1')}>Tabbar1</Button>
</View>
}
}
1 change: 1 addition & 0 deletions Example/components/TabView.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class TabView extends React.Component {
<Button onPress={()=>Actions.tab2_2()}>next screen for tab2_1</Button>
}
<Button onPress={Actions.pop}>Back</Button>
<Button onPress={() => {Actions.register()}}>register </Button>
<Button onPress={() => { Actions.tab1(); }}>Switch to tab1</Button>
<Button onPress={() => { Actions.tab2(); }}>Switch to tab2</Button>
<Button onPress={() => { Actions.tab3(); }}>Switch to tab3</Button>
Expand Down

0 comments on commit 4c02194

Please sign in to comment.