fix(doc-page): page should move to section in URL hash upon reload
Closed this issue · 0 comments
mesqueeb commented
reproduction steps:
- click on a chapter to scroll to it
- ⌘R to reload
- the page will reload and stay at the top of the page
- you may need to create a new test page that uses
DocPage.vue
inplanetar/packages/dev
to reproduce the issue
desired fix
- fix to be implemented at:
DocPage.vue
- have DocPage detect when all examples/sections are mounted. (I'm listening to some events to know about this already)
- then the browser URL hash needs to be obtained and scrolled towards the section.
- use Quasar scroll utils to scroll to the element