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

Algolia search ignores URL hash #1775

Closed
wesgro opened this issue Aug 13, 2019 · 2 comments
Closed

Algolia search ignores URL hash #1775

wesgro opened this issue Aug 13, 2019 · 2 comments

Comments

@wesgro
Copy link

wesgro commented Aug 13, 2019

  • [ x] I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

  • Have Algolia search setup
  • Navigate to a page that has a secondary heading so there is a page anchor to navigate to
  • When you switch to the new page you're sent to the top of the page, not to the anchor.

What is expected?

  • The page jumps to the anchor

What is actually happening?

  • The page does not jump to the anchor, it stays at the top of the page

Other relevant information

  • Output of npx vuepress info in my VuePress project:
Environment Info:

  System:
    OS: macOS 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  Binaries:
    Node: 11.15.0 - ~/.nvm/versions/node/v11.15.0/bin/node
    Yarn: 1.17.3 - ~/.yarn/bin/yarn
    npm: 6.7.0 - ~/.nvm/versions/node/v11.15.0/bin/npm
  Browsers:
    Chrome: 76.0.3809.100
    Firefox: 65.0.1
    Safari: 12.1.2
  npmPackages:
    @vuepress/core:  1.0.3 
    @vuepress/theme-default:  1.0.3 
    vuepress: ^1.0.0 => 1.0.3 
  npmGlobalPackages:
    vuepress: Not Found
@wesgro
Copy link
Author

wesgro commented Aug 13, 2019

I believe this is from 644142b

Which leaves out the hash from the url

@sarahdayan
Copy link
Contributor

Fixed in #1780

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants