Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting does not work correctly when autodocs is set to 'tags' #12

Open
SpaNb4 opened this issue Dec 18, 2023 · 0 comments
Open

Sorting does not work correctly when autodocs is set to 'tags' #12

SpaNb4 opened this issue Dec 18, 2023 · 0 comments

Comments

@SpaNb4
Copy link

SpaNb4 commented Dec 18, 2023

When autodocs uses the default value ('tags'), groups with stories that have tags: ['autodocs'] are sorted above other groups, ignoring the order specified in storyOrder.

To reproduce:
Make the following changes:
Header.stories.js:
image

Main.js
image

Expected result:
Articles
Elements
Components

Actual result:
Articles
Components
Elements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant