Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

navigation.push triggers multiple screens simultaneously #52

Closed
wli opened this issue Sep 2, 2016 · 3 comments
Closed

navigation.push triggers multiple screens simultaneously #52

wli opened this issue Sep 2, 2016 · 3 comments

Comments

@wli
Copy link
Contributor

wli commented Sep 2, 2016

Here's what the log looks like:

1:11:35 PM nav question
1:11:35 PM Analytics push question
1:11:35 PM QuestionScreen willMount
1:11:37 PM pop question
1:11:39 PM nav conversation
1:11:39 PM Analytics push conversation
1:11:39 PM ConversationScreen willMount
1:11:41 PM pop conversation
1:11:45 PM nav question
1:11:45 PM Analytics push question
1:11:45 PM ConversationScreen willMount
1:11:45 PM QuestionScreen willMount
  • nav conversation is logged right before navigator.push is called
  • ConversationScreen willMount is logged inside the componentWillMount function
  • Analytics push question is logged via redux hooks into EX_NAVIGATION.PUSH
  • timestamps confirm when these happen too

Seems pretty reproducible: push A, pop, push B, pop, push A (which triggers A and B simultaneously)

@skevy @brentvatne

@skevy
Copy link
Contributor

skevy commented Sep 13, 2016

Can you give it a try now @wli after this commit is published to npm? ce10f65

@skevy
Copy link
Contributor

skevy commented Sep 13, 2016

published @ 1.5.24

@wli
Copy link
Contributor Author

wli commented Sep 27, 2016

Sorry I never followed up, this is indeed fixed for me. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants