kobalte icon indicating copy to clipboard operation
kobalte copied to clipboard

Controlled Tabs component doesn't work with startTransition

Open XiNiHa opened this issue 5 months ago • 1 comments

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

  1. Switch to "Suspended" tab
  2. 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

XiNiHa avatar Jul 09 '25 06:07 XiNiHa

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!

shayanhabibi avatar Oct 08 '25 00:10 shayanhabibi