-
Notifications
You must be signed in to change notification settings - Fork 561
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 render incorrectly on server #907
Comments
Possibly related to #624 |
This is a known limitation of how we automatically track indices, which require a second render pass. To prevent the jump you'll need to pass an See #624 (comment) |
I still get the same behaviour (all tabs are rendered on the server) after adding the index prop to all |
Is there any fix/ around to this issue yet? |
bumping. looking for a working solution here as well |
🐛 Bug report
Current Behavior
When rendered on the server all tabs are shown, regardless of the
index
prop.Expected behavior
Only the tab for the active index is shown.
Reproducible example
https://codesandbox.io/s/reverent-sun-w205d
Additional context
We are using the
Tabs
inside a remix app. Since the server shows all tabs, but on client side they are hidden, the content jumps.Your environment
The text was updated successfully, but these errors were encountered: