kendo-react icon indicating copy to clipboard operation
kendo-react copied to clipboard

[Bug][Tabstrip] Deletion of Tabs causes unnecessary remounting

Open filipKovachev opened this issue 7 months ago • 0 comments

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

  1. Remove Tab3
  2. Observe the console.log messages and the children components of Tab 4 get executed, indicating that those components get remounted again.

Ticket ID: 1655347

filipKovachev avatar Jul 21 '24 19:07 filipKovachev