Splitter: stateString is undefined #4797
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
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.
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
The text was updated successfully, but these errors were encountered: