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

Splitter: stateString is undefined #5276

Closed
melloware opened this issue Nov 10, 2023 · 0 comments · Fixed by #5277
Closed

Splitter: stateString is undefined #5276

melloware opened this issue Nov 10, 2023 · 0 comments · Fixed by #5277
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@melloware
Copy link
Member

From PrimeVue:primefaces/primevue#4797

I have a Splitter like this

<Splitter stateKey="ModSt/TaskView/comment_splitter_3panels" stateStorage="local">

Somehow my stateString became undefined.
Therefore my panelSizes became invalid, too.

The worst thing is that you can't get out of this state without deleting the localstorage manually.
The component should at least catch the case that the json may be invalid, to be able to recover.

@melloware melloware added the Type: Bug Issue contains a defect related to a specific component. label Nov 10, 2023
@melloware melloware added this to the 10.0.10 milestone Nov 10, 2023
@melloware melloware self-assigned this Nov 10, 2023
@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 10, 2023
melloware added a commit to melloware/primereact that referenced this issue Nov 10, 2023
@melloware melloware removed the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant