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

How to overlay on top of NavigationHeader? #78

Open
tgoldenberg opened this issue Jun 3, 2016 · 1 comment
Open

How to overlay on top of NavigationHeader? #78

tgoldenberg opened this issue Jun 3, 2016 · 1 comment

Comments

@tgoldenberg
Copy link

I would like to do a few things that require elements being stacked on top of the NavigationHeader (i.e. a higher z-index). For example, a dropdown menu that unfolds from the renderRightComponent. However, the bottom of this gets cut off. Or, a progress bar with a draggable thumb in the scene below the nav. Again, the top gets cut off by the NavigationHeader.

Any suggestions? Thanks!

@jmurzy
Copy link

jmurzy commented Jun 4, 2016

Are you using AnimatedView or Transitioner? Either way, your NavigationHeader should have a higher "z-index" as it's rendered after the scenes. A screenshot would have helped here—but also take a look at how I'm rendering the <AddressBar> component here that has a dropdown that renders on top of all other scenes when expanded. There is also a GIF of the dropdown in action in the README.

Also see facebook/react-native/pull/7825, facebook/react-native/pull/6473

🍺

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

2 participants