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 #4797

Closed
Rakasch opened this issue Nov 10, 2023 · 0 comments · Fixed by #4800
Closed

Splitter: stateString is undefined #4797

Rakasch opened this issue Nov 10, 2023 · 0 comments · Fixed by #4800
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Rakasch
Copy link
Contributor

Rakasch commented Nov 10, 2023

Describe the bug

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.
image

Reproducer

PrimeVue version

3.39.1

Vue version

3.x

Language

ES6

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@Rakasch Rakasch 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
This was referenced Nov 10, 2023
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 15, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.41.0 milestone Nov 15, 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 bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants