storybook
storybook copied to clipboard
[Bug]: Vue i18n locale changes in storybook 7.6 not working consistently
Describe the bug
Vue i18n isn't changing locales consistently. It seems to change correctly in the component, but not in the locale changer. So locale scope of vuei18n is changing but not global scope. when you refresh the page or if app has only one story then it will work as expected.
My work has a bigger project where we first found this. it was working in Storybook 6.5 with Vite but now since our upgrade to 7.6, we can't get the locale working consistently in the Storybook or it's tests.
To Reproduce
https://stackblitz.com/edit/github-mrfmpx?file=src%2Fcomponents%2FTestOne.stories.js
System
Storybook Environment Info:
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Shell: 1.0 - /bin/jsh
Binaries:
Node: 18.18.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.2.3 - /usr/local/bin/npm <----- active
pnpm: 8.14.0 - /usr/local/bin/pnpm
npmPackages:
@storybook/addon-essentials: ^8.0.0-alpha.10 => 8.0.0-alpha.10
@storybook/addon-interactions: ^8.0.0-alpha.10 => 8.0.0-alpha.10
@storybook/addon-links: ^8.0.0-alpha.10 => 8.0.0-alpha.10
@storybook/blocks: ^8.0.0-alpha.10 => 8.0.0-alpha.10
@storybook/test: ^8.0.0-alpha.10 => 8.0.0-alpha.10
@storybook/vue3: ^8.0.0-alpha.10 => 8.0.0-alpha.10
@storybook/vue3-vite: ^8.0.0-alpha.10 => 8.0.0-alpha.10
storybook: ^8.0.0-alpha.10 => 8.0.0-alpha.10
Additional context
No response
@kasperpeulen @chakAs3 can one of you please give a hand here?
Sorry @shilman i was busy lately, i will check it out this week
hey, wondering if any update on this issue?
hey, wondering if any update on this issue?
have check the new release v8 ?