redoc icon indicating copy to clipboard operation
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.

Open Zacama opened this issue 10 months ago • 3 comments

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

Zacama avatar Apr 23 '24 10:04 Zacama

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

tatomyr avatar Apr 23 '24 10:04 tatomyr

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

Zacama avatar Apr 24 '24 03:04 Zacama

news?

fmotas avatar May 22 '24 02:05 fmotas