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

URL changes so fast #252

Closed
jenniferwang2000 opened this issue Apr 19, 2017 · 3 comments
Closed

URL changes so fast #252

jenniferwang2000 opened this issue Apr 19, 2017 · 3 comments

Comments

@jenniferwang2000
Copy link

We are running on ReDoc 1.11.0, and our YAML contains more than 200 operations. https://www.zuora.com/developer/api-reference/

  • When Clicking the paperclip icon next to a heading, the # part of the URL changes very rapidly then become blank.

  • Scrolling can be slow because the URL (# part) has to rapidly change, stepping through all the sections in the page. Could you build in some delay, so that the URL only updates when the section has not changed after a couple of seconds?

  • Following a direct link to a tag, sometimes redirects to the preceding operation. For example https://www.zuora.com/developer/api-reference/#tag/Mass-Updater.

@RomanHotsiy
Copy link
Member

The first issue you're facing is fixed in the latest version.
Could you please update to the latest and verify that other issues are still reproducible there?

@jenniferwang2000
Copy link
Author

We update to the latest Redoc version in our test environment.

  • The first one is fixed. Great!

  • The second one: when you use cmd+F to search for a word, if the two search results are in two very far sections. the URL changes very rapidly. Could the URL directly change to the destinated section? The URL also changes very rapidly if you drag the scroll button on the right panel.

  • The third one: it directs to the correct URL, but sometimes the section is on top, sometimes it's at the bottom of the page. A little bit weird.

@RomanHotsiy
Copy link
Member

@jenniferwang2000 thanks for detailed description. Will look into it next week.

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