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

Tabs nav is broken #249

Open
affectful opened this issue Nov 22, 2024 · 2 comments
Open

Tabs nav is broken #249

affectful opened this issue Nov 22, 2024 · 2 comments

Comments

@affectful
Copy link

On today's (not sure when it started) npx one starter the tabs are broken. When switching tabs it stays on the last rendered page.

I followed the onestack guide and it works fine on the expo starter.

Let me know if you need a repro repo.

Screenshot 2024-11-22 at 5 02 29 PM Screenshot 2024-11-22 at 5 02 34 PM
@TomGillen
Copy link

TomGillen commented Nov 24, 2024

It works if you explicitly set the href option:

<Tabs.Screen
  name="explore"
  options={{
    title: 'Explore',
    href: '/explore',
  }}
/>

edit: This is likely a duplicate of #163?

@affectful
Copy link
Author

Either a documentation problem or API needs to be updated to be compatible/similar to expo-router then

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