[Bug][Tabstrip] Deletion of Tabs causes unnecessary remounting
filipKovachev opened this issue · 0 comments
filipKovachev commented
I'm submitting a...
- Bug report
Current behavior
Currently deleting a tab (e.g., Tab 3) is deleted, subsequent tabs (e.g., Tabs 4-7) are remounted
Expected behavior
Deleting a tab should not cause the subsequent tabs to remount or lose their state.
Minimal reproduction of the problem with instructions
This can be observed in the following example:
https://stackblitz.com/edit/vitejs-vite-ztzjor?file=src%2FApp.tsx
- Remove Tab3
- Observe the console.log messages and the children components of Tab 4 get executed, indicating that those components get remounted again.
Ticket ID: 1655347