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

redoc-cli bundle left navigation click operations are not scrolling to the content #2123

Closed
JSSAggie opened this issue Aug 8, 2022 · 3 comments

Comments

@JSSAggie
Copy link

JSSAggie commented Aug 8, 2022

Describe the bug
Using https://www.npmjs.com/package/redoc-cli/v/0.13.16
Running redoc-cli bundle --cdn openapi-json --output pet-store.html --options.showExtensions=true
I get a bundled html file but when I click on the operations like pet-store.html#tag/pet/operation/deletePet the browser does not scroll to that section.

I have included the pet store json and the html output.
pet-store.zip

Expected behavior
When you click on an operation in the left navigation the browser would navigate to that section of the specification.

@AlexVarchuk
Copy link
Collaborator

AlexVarchuk commented Aug 9, 2022

Hi @JSSAggie. I tried to reproduce it in versions latest and 0.13.16. It works ok.
Your HTML file looks very weird.
Screenshot 2022-08-09 at 16 38 35

Did you try to customize UI? Also, please add additional steps for reproduction. Thanks.

JSSAggie added a commit to JSSAggie/redoc-cli-2123 that referenced this issue Aug 9, 2022
Tried to reproduce the issue Redocly/redoc#2123
@JSSAggie
Copy link
Author

JSSAggie commented Aug 9, 2022

@AlexVarchuk weird I need to dig in more now because you are correct. I pushed up a repo and could not reproduce it.

@AlexVarchuk
Copy link
Collaborator

Hi @JSSAggie, no problem. If you find something, please, reopen this issue.

@AlexVarchuk AlexVarchuk closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2022
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