scania-digital-design-system/sdds

Bug - Storybook c-theme global true remains when changing story

Closed this issue · 1 comments

Describe the bug
A clear and concise description of what the bug is.

When you have a story with c-theme global="true" it will remain when changing between stories that doesn't have it
Needs to hard refresh to remove the global true

To Reproduce
Steps to reproduce the behavior:

  1. Set a story with c-theme global="true"
  2. Set a story c-theme without global true
  3. Change from story with global true to on story with global false
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
That every example is isolated, doesn't matter if you use global true or not

Version of SDDS
Latest

Framework and version
If you use any specific framework please provide information

  • Framework: Run storybook
  • Version: 6+

Desktop information:
Please complete the following information

  • Browser chrome
  • Version 80+
  • OS: macOS catalina

Additional context
Add any other context about the problem here.
Might effect how we want to present stuff, but maybe in our case we will always have it on every example

AB#255

AB#917

Invalid issue