Describe the bug
As soon as a global value like globals: {backgrounds: {value: 'dark'}} is set on a story level, after the HMR event, the userGlobal value is set, leading to a change in the URL and in the background toolbar
Reproduction link
storybookjs/storybook-rsc-demo#20
Reproduction steps
- Open Storybook
- Go to a story
- Define the background for a story
- See the url changing and the
userGlobal is set. Switching to another story will persist the global value.
Additional context
No response