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

[Bug]: Canvas types in the play function stopped working with Yarn PnP. #30763

Open
DiFuks opened this issue Mar 6, 2025 · 0 comments
Open

Comments

@DiFuks
Copy link

DiFuks commented Mar 6, 2025

Describe the bug

Starting from Storybook version 8.6.0-alpha.5, the types for canvas stopped working. In version 8.6.0-alpha.5, the types work correctly when using within(canvasElement), but not otherwise. In Storybook 8.6.0-alpha.4, both approaches work correctly.

This issue occurs only when using Yarn PnP.

Reproduction link

https://codesandbox.io/p/devbox/amazing-nightingale-qptdg9?file=%2Fsrc%2FSlider.stories.tsx%3A19%2C5

Reproduction steps

No response

System

System:
    OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (2) x64 AMD EPYC
    Shell: Unknown
  Binaries:
    Node: 20.12.0 - /usr/local/bin/node
    Yarn: 4.7.0 - /usr/local/bin/yarn <----- active
    npm: 10.5.0 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/share/npm-global/bin/pnpm

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant