Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TabStrip] When pre-rendered mode is on, the state of the Tabs does not persist between renders #2788

Open
Yanko-Georgiev opened this issue Jan 6, 2025 · 0 comments
Labels
Bug Item which indicates that something is not working C: TabStrip KendoReact pkg:Layout SEV: High

Comments

@Yanko-Georgiev
Copy link
Collaborator

Yanko-Georgiev commented Jan 6, 2025

Description

When pre-rendered mode is on, the state of the different Tabs does not persist between renders, and each time the tabs are switched the state is returned to its default value.

Steps To Reproduce

  1. Open the following StackBlitz example - https://stackblitz.com/edit/react-ei7aa1fr?file=app%2Fapp.tsx
  2. Click on another step in the Stepper
  3. Click on a different tab
  4. Go back to the first tab
  5. Notice the Stepper is in its initial state.

Screenshots or video

No response

Actual Behavior

When using a controlled component inside the Tabstrip its state is reset when the tabs are switched even when renderAllContent is set to true.

Expected Behavior

Switching tabs should not interfere with the state of the inner components when renderAllContent is set to true.

Reported in TicketID: 1674813

@Yanko-Georgiev Yanko-Georgiev added Bug Item which indicates that something is not working KendoReact pkg:Layout SEV: High labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working C: TabStrip KendoReact pkg:Layout SEV: High
Projects
None yet
Development

No branches or pull requests

2 participants