Storybook languageDirection
not updated when value is set using the language switcher
#4956
Labels
💻 aspect: code
Concerns the software code in the repository
🧰 goal: internal improvement
Improvement that benefits maintainers, not users
🟩 priority: low
Low priority and doesn't need to be rushed
🧱 stack: frontend
Related to the Nuxt frontend
Problem
The values of Openverse i18n language and the Storybook RTL switch are not kept in sync.
Go to https://docs.openverse.org/storybook/?path=/story/components-vfooter--content and change the language to
Arabic
in the language switcher. Notice that the while the language of the strings changes, the page direction isn't updated.Description
The
frontend/.storybook/with-rtl.js
should be updated, similar to thewith-theme
decorator added in Enable running the snapshot tests for both color modesAlternatives
Keep as is since the language switcher is only available in the
VFooter
(internal) story.Additional context
The text was updated successfully, but these errors were encountered: