Storybook: [v6.0.0-beta.31-32] camelCase ref key leads to blank page on click

Created on 19 Jun 2020  路  4Comments  路  Source: storybookjs/storybook

Describe the bug
Adding another storybook ref written in camelCase, will lead to the site not rendering anything once you click on that added storybook. Going back to the main sb doesn't fix it, a refresh is then necessary to display the main sb even.

To Reproduce
Steps to reproduce the behavior:

  1. Add a ref at main.js as follows:
    Bildschirmfoto 2020-06-19 um 17 34 39
  2. Open main storybook
  3. Click on a story of camelCase
  4. Page now is blank, url will be http://localhost:6001/?path=/story/camelCase_story--name

Expected behavior
The site should just render normally and accept camelCase written refs.

Screenshots
Breaking with camelCase ref
camelCase-broken
Working with lowercase ref
lowercase-working

System:
Bildschirmfoto 2020-06-19 um 17 53 26

composition question / support tracked

All 4 comments

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

Isn't this also labeled wrong? I intended it to be a bug report.

@lostdesign it's not a bug until somebody actually confirms it as a bug. half our bug reports are configuration issues. we'll relabel it once we have a chance to confirm.

I think this was fixed in https://github.com/storybookjs/storybook/pull/11541, can you verify @lostdesign ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ChucKN0risK picture ChucKN0risK  路  74Comments

tycho01 picture tycho01  路  76Comments

dmmarmol picture dmmarmol  路  57Comments

ilyaulyanov picture ilyaulyanov  路  100Comments

43081j picture 43081j  路  61Comments