kobalte
kobalte copied to clipboard
Controlled Tabs component doesn't work with startTransition
Describe the bug
Applying startTransition to a controlled Tabs component doesn't apply transitions to newly rendered tab contents, resulting in the display of suspense fallbacks.
To Reproduce
Reproduction: https://stackblitz.com/edit/vitejs-vite-gdykphua?file=src%2FApp.tsx
- Switch to "Suspended" tab
- See the suspense fallback getting displayed even with the
startTransition
Expected behavior
The suspense fallback should never be displayed with transitions.
Desktop (please complete the following information):
- OS: macOS 15.5
- Browser: Firefox 140.0.2 ARM64
- Kobalte: 0.13.10
Would be handy to get confirmation from a kobaltedev member as to what kind of behavior we would expect to see in this scenario so we can work towards it.
Thank you!