Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom NavBar animation looks weird in transition #3075

Closed
exhibition315 opened this issue Jun 12, 2018 · 2 comments
Closed

Custom NavBar animation looks weird in transition #3075

exhibition315 opened this issue Jun 12, 2018 · 2 comments

Comments

@exhibition315
Copy link

Version

Tell us which versions you are using:

  • react-native-router-flux: v4.0.0-beta.31
  • react-native v0.55.4

Expected behaviour

I have a custom NavBar for and the props of as below:
Scene 1:
hideNavBar: true
initial: true

Scene 2:
hideNavBar: false
initial: false

I expect custom NavBar will fit the component when go back.

Actual behaviour

When I click back button, custom NavBar animation looks weird:

f1
This is 'Scene 2' (custom NavBar with yellow arrow and white background).

f2
The yellow background is 'Scene 1'.

My custom NavBar are gone in transition

Steps to reproduce

  1. Create a custom NavBar
  2. Set Scenes props as below:
    Scene 1:
    hideNavBar: true
    initial: true

Scene 2:
hideNavBar: false
initial: false
3. Go back from Scene 2 to Scene 1.
4. The header NavBar looks weird

@nica0012
Copy link

Same issue...

@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Please try to reproduce it with Example project and latest version 4.0.0-beta.40. Feel free to open if the issue still exists

@aksonov aksonov closed this as completed Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants