This repository has been archived by the owner on Nov 27, 2022. It is now read-only.
Replies: 4 comments
-
@omerfaran did you managed to find a solution? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I solved this using a "Context Provider" to save the state of
|
Beta Was this translation helpful? Give feedback.
0 replies
-
any other solutions for this ? Context API doesn't seem to be working for me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Lol I've found a solution by passing the current index as 'position' prop to tabbar |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When navigating to a screen that contains the tab view of two tabs, the focus will be on the left tab, or the one the user already switched to before.
Is it possible to focus on one of the tab?
Expected behaviour
Choose tab to focus on when navigating to the screen containing the tabs
Code sample
This is my code of the screen that contains the two tabs:
Screenshots (if applicable)
What have you tried
I cannot use the above screen to focus on one of the tabs, because this screen will not be re-rendered once re-navigated to.
Is there a way to focus on one of the tabs from outside this screen?
Your Environment
Beta Was this translation helpful? Give feedback.
All reactions