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

Add a FAB that would be visible on specific scenes #3151

Closed
Moshikol opened this issue Jul 30, 2018 · 2 comments
Closed

Add a FAB that would be visible on specific scenes #3151

Moshikol opened this issue Jul 30, 2018 · 2 comments

Comments

@Moshikol
Copy link

Version

Tell us which versions you are using:

  • react-native-router-flux": "^4.0.0-beta.31
  • react-native": "0.55.4

Expected behavior

I Want to add FAB (floating action button) that would be visible on all scenes that under my "tabs" scene parent is there a way to add the FAB to the tab navigation bar without wrting a whole new component that would handle the animations of the changed tabs and so on?
I don't want to add the FAB to each scene in separate because I want it to stay in an absolute position when moving between tabs

There is my router code :

image

Thanks In Advance !

@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Please check Example project, it has MessageBar that is very similar for your goals (i.e. global for all screens).

@aksonov aksonov closed this as completed Aug 8, 2018
@Moshikol
Copy link
Author

Moshikol commented Aug 13, 2018

@aksonov I did check the example project but I didn't find a way to use the overlay component only on my scenes that under the tabs parent scene

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