Histoire is interfering with PrimeVue's Tree Component #6609
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Status: Pending Review
Issue or pull request is being reviewed by Core Team
Describe the bug
Describe the bug
It seems unlikely this is a PrimeVue issue, but thought I would report it here just in case someone wanted to take look and confirm there isn't a bug in PrimeVue that is preventing this from working.
The histoire ticket is histoire-dev/histoire#764
It is possible for PrimeVue's Tree component to show multiple items selected while using it with Histoire.
PrimeVue's Tree component works without issue when used within a normal app.
Reproducer
https://github.com/eric-g-97477-vue/PrimeVueTree
PrimeVue version
4.1.1
Vue version
4.x
Language
ES6
Build / Runtime
Vite
Browser(s)
Chrome: 129.0.6668.101, Safari: 18.0.1
Steps to reproduce the behavior
I have a simple sample project which can be used to demonstrate the problem. Note, while trying to reproduce the bug in Histoire, it may be necessary to reload the page a couple of times.
https://github.com/eric-g-97477-vue/PrimeVueTree
I used npm.
Screen Recording of the bug inside of histoire...
PrimeVue.Tree.Bug.mov
Expected behavior
Screen Recording of it working inside a regular app...
PrimeVue.Tree.Working.mov
The text was updated successfully, but these errors were encountered: