- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.2k
 
Open
Description
When using the Vue  component with the :defaultIndex prop, the value is only applied once on mount and does not update when the bound ref changes. This makes it impossible to dynamically change the default tab after initialization.
For comparison, using :selectedIndex works as expected and updates reactively when the bound ref changes.
Steps to reproduce:
- Bind a ref to 
:defaultIndexon<TabGroup>. - Change the ref after mount (e.g., with a 
setTimeout). - Observe that the selected tab does not update.
 
Expected behavior:
When the bound value changes, the selected tab should update accordingly, similar to :selectedIndex.
Minimal reproduction:
Metadata
Metadata
Assignees
Labels
No labels