redoc
redoc copied to clipboard
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.
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
I believe that belongs to the Redoc repository. Transfering there.
You can see the problem in action by going directly to this link https://sturdy-parakeet-vqj7xp64xp62pgqg-23232.app.github.dev/example.html#tag/example/paths/~1example/get
news?