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

When opening an HTML file built with the Redocly command in a browser that contains an anchor, the sidebar does not expand and automatically positions to that anchor. #2522

Open
Zacama opened this issue Apr 23, 2024 · 2 comments

Comments

@Zacama
Copy link

Zacama commented Apr 23, 2024

Describe the bug

When opening an HTML file url(built with the redocly build-docs command) with anchor in a browser, the sidebar does not expand and automatically positions to that anchor.

To Reproduce
Steps to reproduce the behavior:

Here's an example
https://github.com/Zacama/redoc-2522

Expected behavior

The sidebar expands and automatically positions to that anchor.

Logs

OpenAPI description

Redocly Version(s)

1.10.1

Node.js Version(s)

v20.11.1

Additional context

@tatomyr
Copy link
Contributor

tatomyr commented Apr 23, 2024

I believe that belongs to the Redoc repository. Transfering there.

@tatomyr tatomyr transferred this issue from Redocly/redocly-cli Apr 23, 2024
@Zacama
Copy link
Author

Zacama commented Apr 24, 2024

You can see the problem in action by going directly to this link
https://glowing-garbanzo-64x7jv9j9vq34v59-23232.app.github.dev/example.html#tag/example/paths/~1example/get

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