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

Svelte component binding gets undefined after using Controls #346

Closed
6 tasks done
bztes opened this issue Oct 31, 2022 · 2 comments
Closed
6 tasks done

Svelte component binding gets undefined after using Controls #346

bztes opened this issue Oct 31, 2022 · 2 comments
Assignees
Labels
bug Something isn't working svelte3

Comments

@bztes
Copy link

bztes commented Oct 31, 2022

Describe the bug

When using Histoire Controls every Svelte component binding in the Story gets undefined.

Reproduction

  1. Open https://stackblitz.com/edit/histoire-svelte3-starter-xegtp3?file=src/SvelteBindThis.story.svelte
  2. Select Story 'BindThisVsControls'
  3. Check 'Disabled' in the Histoire Controls Panel

Result: Value of button gets undefined :(
Expected Result: Button reference should not change

System Info

System:
    OS: Linux 6.0 Arch Linux
    CPU: (8) x64 AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
    Memory: 14.62 GB / 31.06 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.11.0 - ~/.nvm/versions/node/v18.11.0/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 8.19.2 - /.../node_modules/.bin/npm
  Browsers:
    Chromium: 106.0.5249.119
    Firefox: 106.0.1
  npmPackages:
    @histoire/plugin-svelte: ^0.11.5 => 0.11.6 
    histoire: ^0.11.5 => 0.11.6 
    vite: ^3.0.3 => 3.2.1

Used Package Manager

yarn

Validations

@bztes bztes added the to triage This issue needs to be triaged label Oct 31, 2022
@stackblitz
Copy link

stackblitz bot commented Oct 31, 2022

@TGlide
Copy link

TGlide commented Nov 1, 2022

This also happens to me.

@Akryum Akryum added bug Something isn't working svelte3 and removed to triage This issue needs to be triaged labels Nov 12, 2022
@Akryum Akryum self-assigned this Nov 12, 2022
@Akryum Akryum closed this as completed in 755ac0d Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working svelte3
Projects
None yet
Development

No branches or pull requests

3 participants