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

[Addon Docs] [MDX] Anchors for headings are broken in Storybook 6.4.3 #17030

Closed
Celentia opened this issue Dec 16, 2021 · 1 comment
Closed

Comments

@Celentia
Copy link

Describe the bug
MDX anchors in markdown for headings aren't scrolling to the relevant section in Storybook 6.4.3.

To Reproduce

  1. Create new or open existing .mdx story;
  2. Add an anchor for heading to some docs section, for example:
## Table of Contents
   - [Overview](#overview)
   ...

## Overview
  1. Click on "Overview" in the Table of Contents section.

Expected result:
Docs page should scroll to Overview section.

Actual result:
The blank page is shown.

Additional context
This issue is reproducible in Storybook 6.4.3 and Storybook 6.4.0-beta.20. In Storybook 6.3 it has worked fine.

@shilman
Copy link
Member

shilman commented Dec 16, 2021

closing as dupe to #16918

@shilman shilman closed this as completed Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants