Skip to content

Fragment links in documentation don't update url #6288

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

Closed
1 of 4 tasks
wolph opened this issue Jan 5, 2021 · 0 comments · Fixed by #6368
Closed
1 of 4 tasks

Fragment links in documentation don't update url #6288

wolph opened this issue Jan 5, 2021 · 0 comments · Fixed by #6368

Comments

@wolph
Copy link

wolph commented Jan 5, 2021

Documentation issue

  • Reporting a typo
  • Reporting a documentation bug
  • Documentation improvement
  • Documentation feedback

Is there a specific documentation page you are reporting?

All documentation pages have this issue as far as I can see.
Example link: https://bootstrap-vue.org/docs/components/form-radio

Additional context or description

When clicking on any of the menu items on the right menu, the url stays the same instead of going to something like "https://bootstrap-vue.org/docs/components/form-radio#grouped-radios" (note the fragment: grouped-radios)

The result is that copying the link doesn't send you to the right part of the page. And reloading the page doesn't end up in the right place either.

I think this is a recent issue, I haven't seen this issue before but I could be wrong.

jacobmllr95 added a commit that referenced this issue Jan 27, 2021
…loses #6288) (#6368)

* fixes #6288

* removed unnecessary change

* Use shared `scrollTargetIntoView` util

* Update index.js

* Update index.js

* Update section.js

Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants