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

Histoire is interfering with PrimeVue's Tree Component #764

Open
6 tasks done
eric-g-97477 opened this issue Oct 19, 2024 · 0 comments
Open
6 tasks done

Histoire is interfering with PrimeVue's Tree Component #764

eric-g-97477 opened this issue Oct 19, 2024 · 0 comments
Labels
to triage This issue needs to be triaged

Comments

@eric-g-97477
Copy link

eric-g-97477 commented Oct 19, 2024

Describe the bug

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.

I did report this to PrimeVue as well, but it seems unlikely it is their issue. The ticket there is: primefaces/primevue#6609

Reproduction

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

It is unfortunately unclear how I can use StackBlitz, etc. to reproduce this bug, so hopefully my sample project will be good enough.

Screen Recording of the bug inside of histoire...

PrimeVue.Tree.Bug.mov

Screen Recording of it working inside a regular app...

PrimeVue.Tree.Working.mov

System Info

npx envinfo --system --npmPackages '{histoire,@histoire/*,vite,@vitejs/*}' --binaries --browsers                                                                                                                                20:14:40

  System:
    OS: macOS 14.7
    CPU: (16) arm64 Apple M3 Max
    Memory: 146.22 MB / 64.00 GB
    Shell: 3.7.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v16.16.0/bin/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
  Browsers:
    Chrome: 129.0.6668.101
    Safari: 18.0.1
  npmPackages:
    @histoire/plugin-vue: ^0.17.17 => 0.17.17
    @vitejs/plugin-vue: ^5.0.5 => 5.1.0
    histoire: ^0.17.17 => 0.17.17
    vite: ^5.2.13 => 5.3.4

Used Package Manager

npm

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant